Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup.py imports code that tries to load sphinx #10

Closed
rob-smallshire opened this issue Dec 10, 2012 · 0 comments
Closed

setup.py imports code that tries to load sphinx #10

rob-smallshire opened this issue Dec 10, 2012 · 0 comments

Comments

@rob-smallshire
Copy link
Owner

Original author: stevet...@gmail.com (October 05, 2012 18:28:36)

What steps will reproduce the problem?

  1. pip install cartouche or in source folder python setup.py install before sphinx is installed

What is the expected output? What do you see instead?

I expect the sphinx requirement to be resolved automatically, instead it just explodes because setup.py tries to import sphinx when it is importing the version number from the code.

Please provide any additional information below.

This line is the problem:

from cartouche import __version__ as version

You can't do that. if you replace it with this line:

version = 0.9

it works! it gives pip a chance to resolve the sphinx requirement automatically.

Original issue: http://code.google.com/p/cartouche/issues/detail?id=10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant