update with comments on PR #450, fixed styles and updated CHANGES and CONTRIBUTORS
This commit is contained in:
parent
70e230815b
commit
db444c4a08
@ -44,3 +44,4 @@ on going at master
|
|||||||
* Java api is ready for use
|
* Java api is ready for use
|
||||||
* Added more test cases and continuous integration to make each build more robust
|
* Added more test cases and continuous integration to make each build more robust
|
||||||
* Improvements in sklearn compatible module
|
* Improvements in sklearn compatible module
|
||||||
|
* Added pip installation functionality for python module
|
||||||
|
|||||||
@ -46,3 +46,5 @@ List of Contributors
|
|||||||
* [Yen-Ying Lee](https://github.com/white1033)
|
* [Yen-Ying Lee](https://github.com/white1033)
|
||||||
* [Masaaki Horikoshi](https://github.com/sinhrks)
|
* [Masaaki Horikoshi](https://github.com/sinhrks)
|
||||||
- Masaaki is the initial creator of xgboost python plotting module.
|
- Masaaki is the initial creator of xgboost python plotting module.
|
||||||
|
* [Hongliang Liu](https://github.com/phunterlau)
|
||||||
|
- Hongliang is the maintainer of xgboost python PyPI package for pip installation.
|
||||||
|
|||||||
@ -33,10 +33,12 @@ setup(name='xgboost',
|
|||||||
maintainer_email='phunter.lau@gmail.com',
|
maintainer_email='phunter.lau@gmail.com',
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
#package_dir = {'':'xgboost'}, #don't need this and don't use this, give everything to MANIFEST.in
|
#don't need this and don't use this, give everything to MANIFEST.in
|
||||||
|
#package_dir = {'':'xgboost'},
|
||||||
#package_data = {'': ['*.txt','*.md','*.sh'],
|
#package_data = {'': ['*.txt','*.md','*.sh'],
|
||||||
# }
|
# }
|
||||||
include_package_data=True, #this will use MANIFEST.in during install where we specify additional files, this is the golden line
|
#this will use MANIFEST.in during install where we specify additional files,
|
||||||
data_files=[('xgboost',LIB_PATH),
|
#this is the golden line
|
||||||
],
|
include_package_data=True,
|
||||||
|
data_files=[('xgboost', LIB_PATH)],
|
||||||
url='https://github.com/dmlc/xgboost')
|
url='https://github.com/dmlc/xgboost')
|
||||||
|
|||||||
@ -40,7 +40,8 @@ def find_lib_path():
|
|||||||
"""
|
"""
|
||||||
curr_path = os.path.dirname(os.path.abspath(os.path.expanduser(__file__)))
|
curr_path = os.path.dirname(os.path.abspath(os.path.expanduser(__file__)))
|
||||||
#make pythonpack hack: copy this directory one level upper for setup.py
|
#make pythonpack hack: copy this directory one level upper for setup.py
|
||||||
dll_path = [curr_path, os.path.join(curr_path, '../../wrapper/'),os.path.join(curr_path, './wrapper/')]
|
dll_path = [curr_path, os.path.join(curr_path, '../../wrapper/')
|
||||||
|
, os.path.join(curr_path, './wrapper/')]
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
if platform.architecture()[0] == '64bit':
|
if platform.architecture()[0] == '64bit':
|
||||||
dll_path.append(os.path.join(curr_path, '../../windows/x64/Release/'))
|
dll_path.append(os.path.join(curr_path, '../../windows/x64/Release/'))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user