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

Proposed fix for issue #4 #49

Closed
wants to merge 1 commit into from
Closed

Proposed fix for issue #4 #49

wants to merge 1 commit into from

Conversation

mzpqnxow
Copy link

@mzpqnxow mzpqnxow commented Nov 7, 2016

Removed setup_requires = ['persistent']

The issue: #48

Since the persistent module is not actually needed at setup time- it is only needed in install_requires, where it is already specified.

When it is present in setup_requires, it breaks configurations that use local repositories
like Artifactory. There are no clean workarounds that I have been able to find.

Since the persistent module is not actually needed at setup time- it is only needed in install_requires, where it is already specified.

When it is present in setup_requires, it breaks configurations that use local repositories
like Artifactory. There are no clean workarounds that I have been able to find.

I tested this and it works fine. Perhaps this was done by mistake?

I'd appreciate if this could be merged into a 4.3.0a or 4.3.1 release on PyPi so I can actually benefit from this being fixed. As of now I am left with clunky workarounds and can't use requirements.txt
I tested this and it works fine. Perhaps this was done by mistake?

I'd appreciate if this could be merged into a 4.3.0a or 4.3.1 release on PyPi so I can actually benefit from this being fixed. As of now I am left with clunky workarounds and can't use requirements.txt

not actually needed at setup time- it is only needed in install_requires.

When in setup_requires, this breaks configurations that use local repositories
like Artifactory. There are no clean workarounds that I have been able to find.

I tested the installer by just removing setup_requires and it works fine. I don't
understand why it would need to be there in the first place. Maybe it was a mistake?
@tseaver
Copy link
Member

tseaver commented Nov 7, 2016

@agreene5 persistent is a build-time requirement: it provides the header files and libraries needed to link the BTrees C extensions.

@mzpqnxow
Copy link
Author

mzpqnxow commented Nov 7, 2016

ah, my mistake. I just removed the line and it seemed to work fine via python setup.py install. Perhaps I missed something (seems likely)

I found a few workarounds via pydistutils.cfg but they were one off / hack type solutions. I guess this PR can be closed and I'll go back to the drawing board. If you have any ideas on how I can cleanly work around this, comment in the issue I entered. If you don't think there's anything that can on the BTrees side, you can close the issue as well. I just can't imagine there not being a way to do this cleanly..hrmm

@mzpqnxow mzpqnxow closed this Nov 7, 2016
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 this pull request may close these issues.

None yet

2 participants