Skip to content

Commit

Permalink
Fix runtime version
Browse files Browse the repository at this point in the history
  • Loading branch information
shnela committed Jun 17, 2021
1 parent 35a19d2 commit 43a4e3c
Show file tree
Hide file tree
Showing 4 changed files with 1,862 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
neptune_integration_template/_version.py export-subst # TODO: Update path
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
include versioneer.py
include neptune/new/integrations/xgboost/impl/_version.py
include neptune_xgboost/_version.py
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import os

from neptune_xgboost._version import get_versions
from setuptools import setup
from setuptools import find_packages, setup

import versioneer


def main():
Expand All @@ -25,7 +26,7 @@ def main():
if line.startswith('Version:'):
version = line[8:].strip()
else:
version = get_versions()["version"]
version = versioneer.get_version()

setup(
name='neptune-xgboost',
Expand All @@ -45,7 +46,8 @@ def main():
license='Apache License 2.0',
install_requires=base_libs,
extras_require=extras,
packages=['neptune_xgboost', 'neptune_xgboost.impl'],
packages=find_packages(),
cmdclass=versioneer.get_cmdclass(),
zip_safe=False,
classifiers=[
# As from http://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand Down
Loading

0 comments on commit 43a4e3c

Please sign in to comment.