[tahoe-lafs-trac-stream] [tahoe-lafs] #1659: setuptools/easy_install/pip-installed package lacks documentation

tahoe-lafs trac at tahoe-lafs.org
Fri Jul 26 05:54:42 UTC 2013


#1659: setuptools/easy_install/pip-installed package lacks documentation
--------------------------+----------------------------
     Reporter:  nejucomo  |      Owner:  nobody
         Type:  defect    |     Status:  new
     Priority:  major     |  Milestone:  undecided
    Component:  unknown   |    Version:  1.9.0
   Resolution:            |   Keywords:  packaging pypi
Launchpad Bug:            |
--------------------------+----------------------------

Comment (by nejucomo):

 I just created [https://github.com/nejucomo/tahoe-lafs/compare/1659
 -bundle-docs-in-sdist this change to setup.py] which causes all of
 `./docs` and some other useful files like `README.txt` to be installed in
 `$PREFIX/share/doc/allmydata_tahoe` when installed with pip.

 Next I'd like to test that this is also the case when I run `python
 ./setup.py install --single-version-externally-managed` from an unpacked
 sdist.

 If that also works, then I would propose to merge that branch.

 There are a few sticking points in that branch:

 * It replicates some information from `MANIFEST.in`.  (I found while doing
 this that `MANIFEST.in` refers to non-existent paths, and that `python
 ./setup.py sdist` does not complain about these missing files, so it has
 accumulated some bitrot.)
 * It may use the wrong path format for all platforms...  I suspect it
 should use `distutils.util.convert_path()` somewhere.
 * There's no test code.  Testing build/install scaffolding is difficult!

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1659#comment:7>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list