nevow cannot be installed with pip into a clean virtualenv
Bug #1091055 reported by
Michael Hudson-Doyle
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Tahoe-LAFS |
Unknown
|
Unknown
|
|||
nevow |
New
|
Undecided
|
Unassigned |
Bug Description
The problem is that Nevow imports nevow._version in setup.py which imports twisted. In the setuptools world Nevow should put "twisted" in setup_requires, but setup_requires doesn't actually work with pip because the first thing pip does on downloading is run setup.py egg_info which doesn't work if Twisted is not installed...
Related branches
lp:~nejucomo/divmod.org/fix-nevow-setup
Ready for review
for merging
into
lp:divmod.org
- Michael Hudson-Doyle: Pending requested
-
Diff: 26 lines (+9/-2)1 file modifiedNevow/setup.py (+9/-2)
summary: |
- nevow does not include install_requires in setup.py + nevow cannot be installed with pip into a clean virtualenv |
description: | updated |
To post a comment you must log in.
This is harder than I thought, because setup.py imports nevow and nevow/__init__.py imports nevow/_version.py which imports twisted. python. versions and pip doesn't seem to support setup_requires.
versiontools has a way of doing this sort of thing that doesn't require setup_requires: http:// versiontools. readthedocs. org/en/ latest/ usage.html -- maybe Nevow could use that or something similar?