-
Notifications
You must be signed in to change notification settings - Fork 139
Fix setup.py #112
Comments
Not sure how this is supposed to work. You want to just grab setup.py without having Atomic/atomic.py in the same directory?
|
|
@rtnpro Thanks. I figured out what you were talking about when I saw your pull requests. |
@rhatdan :) |
I am trying to setup this repo from scratch again, today, and I ran into this error:
It seems that this bug got introduced by 1068788 I do not see a way to execute Please share your thoughts. |
Why not install the requests package on the system? E.g. |
Is there a way we can make |
This is a re-commit of 1068788 because the later fix in projectatomic#112 added a *runtime* dependency on setuptools, which we don't want. It looks like OpenStack uses https://pypi.python.org/pypi/pbr which presumably solves this problem. I however am not super interested right now in diving into that...I just want the thing to build. Ansible just inserts the current dir in `sys.path`, which seems like a simple hack, so let's do that. Conflicts: setup.py
I cannot figure out how to use setuptools only at *build* time. There's no reason for us to take a runtime dependency on it. This is mostly a re-commit of 1068788 because which reverts what happened in projectatomic#112. It looks like OpenStack uses https://pypi.python.org/pypi/pbr which presumably solves this problem. I however am not super interested right now in diving into that...I just want the thing to build. Ansible just inserts the current dir in `sys.path`, which seems like a simple hack, so let's do that. Conflicts: setup.py
timeouttttt! pinging @rtnpro again, I'll try to catch him on irc :) |
@cdrage @ashcrow It should still be a problem because
will fail. The reason being the imports in https://github.com/cgwalters/atom/blob/6f94706621dce8ccff110febd36639e91dd35f8b/Atomic/__init__.py will try to access the yet uninstalled dependencies. For example, |
Do we still have this issue, or can I close this? |
The original error doesn't seem to be, but attempting to import from the repo still doesn't work due to a missing library not in |
Fixed in atomic-1.13 |
Issues:
__version__
from Atomic package causes a race condition, where a new user cannot accesssetup.py
without pre installing dependencies.python setup.py develop
does not work.setup.py {develop,install}
The text was updated successfully, but these errors were encountered: