Skip to content

Commit

Permalink
Update for versioneer
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermeleobas committed Jun 25, 2020
1 parent d6b6406 commit a2cc0d1
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
global-include *.in *.sh *.bat *.yaml *.thrift *.txt
include versioneer.py
include rbc/_version.py
2 changes: 0 additions & 2 deletions rbc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
__version__ = '0.3.0dev1'

# Expose a temporary prototype. It will be replaced by proper
# implementation soon.
from .remotejit import RemoteJIT # noqa: F401
Expand Down
2 changes: 1 addition & 1 deletion rbc/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_config():
cfg = VersioneerConfig()
cfg.VCS = "git"
cfg.style = "pep440"
cfg.tag_prefix = ""
cfg.tag_prefix = "v"
cfg.parentdir_prefix = ""
cfg.versionfile_source = "rbc/_version.py"
cfg.verbose = False
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ VCS = git
style = pep440
versionfile_source = rbc/_version.py
versionfile_build = rbc/_version.py
tag_prefix =
tag_prefix = v
parentdir_prefix =

[flake8]
Expand Down
6 changes: 0 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@
backend in IR form where it will be compiled to machine code.
"""

versioneer.VCS = 'git'
versioneer.style = 'pep440'
versioneer.versionfile_source = 'rbc/_version.py'
versioneer.versionfile_build = 'rbc/_version.py'
versioneer.tag_prefix = ''
versioneer.parentdir_prefix = ''

def setup_package():
src_path = os.path.dirname(os.path.abspath(sys.argv[0]))
Expand Down

0 comments on commit a2cc0d1

Please sign in to comment.