Issue 337 in specto: 0.4 setup.py does not include VERSION file in the tarball

2 views
Skip to first unread message

spe...@googlecode.com

unread,
Jun 28, 2011, 9:47:54 PM6/28/11
to specto...@googlegroups.com
Status: Accepted
Owner: Francesco.Marella
Labels: Maintainability Milestone-Release0.4 Component-Scripts Type-Defect
Priority-Critical

New issue 337 by nekoh...@gmail.com: 0.4 setup.py does not include VERSION
file in the tarball
http://code.google.com/p/specto/issues/detail?id=337

In rev 158.1.8, setup.py was changed significantly. One side-effect of that
is that the VERSION file does not get packaged in the tarball when I
do "python setup.py sdist", and so when users try to run the tarball that
file is missing, and you get problems like this when trying to install:

> $ sudo python setup.py install
> Traceback (most recent call last):
> File "setup.py", line 103, in <module>
> with open("VERSION", "r") as version_file:
> IOError: [Errno 2] No such file or directory: 'VERSION'

> $ python setup.py build
> Traceback (most recent call last):
> File "setup.py", line 103, in <module>
> with open("VERSION", "r") as version_file:
> IOError: [Errno 2] No such file or directory: 'VERSION'

Reply all
Reply to author
Forward
0 new messages