Require cython in the build-system #2
No reviewers
Labels
No labels
consider soon
documentation
good first issue
hacktoberfest
help wanted
priority: blocker
priority: high
priority: low
priority: medium
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-rocksdb#2
Loading…
Reference in a new issue
No description provided.
Delete branch "build-requires-cython"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I was confused seeing
setuptools
in ainstall_requires
. Usually, that section is for dependencies that a python project wants available at runtime. I did not see anywhere in the code (other than setup.py) wheresetuptools
is imported, so install_requires is removed entirely.I'm taking a bit of a leap here in using https://setuptools.pypa.io/en/latest/history.html#v58-3-0 to begin making use of PEP 518, but seeing as how this project is python 3.7+, it should be okay. In fact, it should probably be https://setuptools.pypa.io/en/latest/history.html#v59-7-0 or higher.
The rationale for this change is to be able to pip install a package that depends on this rocksdb package. Failing to install cython first on modern versions of setuptools without this PEP 518 pyproject.toml.