subunit should contain a top-level 'setup.py'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subunit |
Fix Released
|
Wishlist
|
Tres Seaver |
Bug Description
Ideallly, it should be possible to install the subunit python module with easy_install. It should be at least registered on pypi such that:
easy_install subunit
... would find a link to http://
easy_install -f http://
... except it fails with the following error:
(subunit) C:\src\
Searching for subunit
Reading http://
Best match: subunit 0.0.5
Downloading http://
Processing subunit-
error: Couldn't find a setup script in c:\users\
Related branches
- Robert Collins: Approve
-
Diff: 87 lines (+78/-0)2 files modifiedMANIFEST.in (+20/-0)
setup.py (+58/-0)
Changed in subunit: | |
assignee: | nobody → Tres Seaver (tseaver) |
milestone: | none → next |
status: | Triaged → Fix Released |
So, subunit is not primarily a python program; its C and C++ and shell and perl and python. Using setup.py for the build system wouldn't work well.
We could use setup.py for just the python parts, but someone would need to write appropriate glue such that:
make
make dist
make distcheck
make check
make clean
make distclean
make install
all work appropriately, and so that configure options for where to install (--prefix etc) take effect appropriately.
You are right, I should register on pypi; I've been meaning to lookup the API glue to do that without a setup.py. Lastly, I guess we can simulate a bdist or something fairly easily?