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

LICENSE being installed to the wrong path #139

Closed
algorythmic opened this issue Jul 24, 2020 · 3 comments
Closed

LICENSE being installed to the wrong path #139

algorythmic opened this issue Jul 24, 2020 · 3 comments

Comments

@algorythmic
Copy link

As specified currently in setup.py with

config['data_files'] = [('', ['LICENSE'])]

this gets installed right into sys.prefix (or causes an error with homebrew python):

$ pip install anytree
Collecting anytree
  Using cached anytree-2.8.0-py2.py3-none-any.whl (41 kB)
Requirement already satisfied: six>=1.9.0 in /usr/local/lib/python3.8/site-packages (from anytree) (1.15.0)
Installing collected packages: anytree
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/LICENSE'
Consider using the `--user` option or check the permissions.

Per pypa/setuptools#1536 this should not be necessary, rather license_file can be specified instead.

@c0fec0de
Copy link
Owner

c0fec0de commented Oct 5, 2020

will fix it

@iqbal-lab
Copy link

Would be v grateful for this fix!

@paper42
Copy link
Contributor

paper42 commented Jun 17, 2021

@c0fec0de this issue can be closed, because #165 was merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants