Skip to content

Commit

Permalink
Update PyPI maintainer; use VERSION for binary wheels (dmlc#2992)
Browse files Browse the repository at this point in the history
hcho3 authored Dec 31, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 3cef89e commit 4aa346c
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 2 additions & 3 deletions python-package/setup.py
Original file line number Diff line number Diff line change
@@ -22,15 +22,14 @@
# detailed instruction in setup_pip.py
setup(name='xgboost',
version=open(os.path.join(CURRENT_DIR, 'xgboost/VERSION')).read().strip(),
# version='0.4a23',
description="XGBoost Python Package",
long_description=open(os.path.join(CURRENT_DIR, 'README.rst')).read(),
install_requires=[
'numpy',
'scipy',
],
maintainer='Hongliang Liu',
maintainer_email='[email protected]',
maintainer='Hyunsu Cho',
maintainer_email='[email protected]',
zip_safe=False,
packages=find_packages(),
# this will use MANIFEST.in during install where we specify additional files,
7 changes: 3 additions & 4 deletions python-package/setup_pip.py
Original file line number Diff line number Diff line change
@@ -41,15 +41,14 @@ def has_ext_modules(self):
# python setup.py register sdist upload
# and be sure to test it firstly using "python setup.py register sdist upload -r pypitest"
setup(name='xgboost',
# version=open(os.path.join(CURRENT_DIR, 'xgboost/VERSION')).read().strip(),
version='0.6a2',
version=open(os.path.join(CURRENT_DIR, 'xgboost/VERSION')).read().strip(),
description='XGBoost Python Package',
install_requires=[
'numpy',
'scipy',
],
maintainer='Hongliang Liu',
maintainer_email='[email protected]',
maintainer='Hyunsu Cho',
maintainer_email='[email protected]',
zip_safe=False,
packages=find_packages(),
# don't need this and don't use this, give everything to MANIFEST.in

0 comments on commit 4aa346c

Please sign in to comment.