Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix data file shipping confusions on pip install for #463 #549

Merged
merged 3 commits into from Oct 25, 2015

Conversation

phunterlau
Copy link
Contributor

Fix data file shipping confusions on pip install for #463 by:

  1. removing data_files in setup.py and giving MANIFEST.in the full control of file shipping
  2. leaving a pre-compiled .so file in the xgboost/wrapper/ and deleting it during pip installation, so it can force system compiling

Add error message for windows users for less confusion.

Current pip installation should give errors when there is no gcc installed on the system, which is the right thing.

print(output)
os.system('sh ./xgboost/build-python.sh')
else:
print 'Windows users please use github installation.'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be print() for python 3.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sinhrks Thanks for reminding, just pushed the change.

tqchen added a commit that referenced this pull request Oct 25, 2015
Fix data file shipping confusions on pip install for #463
@tqchen tqchen merged commit 06f502a into dmlc:master Oct 25, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants