habnabit / vcversioner

take version numbers from version control
ISC License
28 stars 16 forks source link

error while installing vcversioner 1.14.1.0 as dependency of txsocksx==1.13.0.2 #4

Closed evilaliv3 closed 10 years ago

evilaliv3 commented 10 years ago

@habnabit while installing vcversioner 1.14.1.0 as dependency of txsocksx==1.13.0.2 i'm getting the following error:

pip install txsocksx==1.13.0.2

""" Downloading/unpacking txsocksx==1.13.0.2 Downloading txsocksx-1.13.0.2.tar.gz Running setup.py (path:/data/devel/GLBackend/glenv/build/txsocksx/setup.py) egg_info for package txsocksx vcversioner: no VCS could be detected in u'/tmp/easy_install-PxEm_k/vcversioner-1.14.1.0' and u'%(root)s/version.txt' isn't present. vcversioner: are you installing from a github tarball? Traceback (most recent call last): File "", line 17, in File "/data/devel/GLBackend/glenv/build/txsocksx/setup.py", line 38, in packages=['txsocksx', 'txsocksx.test'], File "/usr/lib/python2.7/distutils/core.py", line 111, in setup _setup_distribution = dist = klass(attrs) File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/setuptools/dist.py", line 239, in init self.fetch_build_eggs(attrs.pop('setup_requires')) File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/setuptools/dist.py", line 264, in fetch_build_eggs replace_conflicting=True File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/pkg_resources.py", line 580, in resolve dist = best[req.key] = env.best_match(req, ws, installer) File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/pkg_resources.py", line 818, in best_match return self.obtain(req, installer) # try and download/install File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/pkg_resources.py", line 830, in obtain return installer(requirement) File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/setuptools/dist.py", line 314, in fetch_build_egg return cmd.easy_install(req) File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 593, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 623, in install_item dists = self.install_eggs(spec, download, tmpdir) File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 809, in install_eggs return self.build_and_install(setup_script, setup_base) File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1015, in build_and_install self.run_setup(setup_script, setup_base, args) File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1003, in run_setup raise DistutilsError("Setup script exited with %s" % (v.args[0],)) distutils.errors.DistutilsError: Setup script exited with 2 Complete output from command python setup.py egg_info: vcversioner: no VCS could be detected in u'/tmp/easy_install-PxEm_k/vcversioner-1.14.1.0' and u'%(root)s/version.txt' isn't present.

vcversioner: are you installing from a github tarball?

Traceback (most recent call last):

File "", line 17, in

File "/data/devel/GLBackend/glenv/build/txsocksx/setup.py", line 38, in

packages=['txsocksx', 'txsocksx.test'],

File "/usr/lib/python2.7/distutils/core.py", line 111, in setup

_setup_distribution = dist = klass(attrs)

File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/setuptools/dist.py", line 239, in init

self.fetch_build_eggs(attrs.pop('setup_requires'))

File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/setuptools/dist.py", line 264, in fetch_build_eggs

replace_conflicting=True

File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/pkg_resources.py", line 580, in resolve

dist = best[req.key] = env.best_match(req, ws, installer)

File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/pkg_resources.py", line 818, in best_match

return self.obtain(req, installer) # try and download/install

File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/pkg_resources.py", line 830, in obtain

return installer(requirement)

File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/setuptools/dist.py", line 314, in fetch_build_egg

return cmd.easy_install(req)

File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 593, in easy_install

return self.install_item(spec, dist.location, tmpdir, deps)

File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 623, in install_item

dists = self.install_eggs(spec, download, tmpdir)

File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 809, in install_eggs

return self.build_and_install(setup_script, setup_base)

File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1015, in build_and_install

self.run_setup(setup_script, setup_base, args)

File "/data/devel/GLBackend/glenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1003, in run_setup

raise DistutilsError("Setup script exited with %s" % (v.args[0],))

distutils.errors.DistutilsError: Setup script exited with 2


Cleaning up... Command python setup.py egg_info failed with error code 1 in /data/devel/GLBackend/glenv/build/txsocksx Storing debug log for failure in /home/evilaliv3/.pip/pip.log """

habnabit commented 10 years ago

Sorry about that! It's fixed in 8541e1b32ec8bf408a623cb7f1afa5bc714786ad.

evilaliv3 commented 10 years ago

great! thanks :)