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

Misplaced SQLAlchemy requirement specification #4

Open
jkankiewicz opened this issue Feb 25, 2019 · 0 comments
Open

Misplaced SQLAlchemy requirement specification #4

jkankiewicz opened this issue Feb 25, 2019 · 0 comments

Comments

@jkankiewicz
Copy link

Being that just importing the package causes an ImportErrorto be raised, shouldn't its 'sqlalchemy' requirement be included in the install_requires keyword argument's tuple value instead of within the extras_require keyword argument's dict value?

$ virtualenv venv
$ source venv/bin/activate
$ pip install shield
$ python -c "import shield"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File ".../venv/lib/python2.7/site-packages/shield/__init__.py", line 4, in <module>
    from .decorators import rule, deferred_rule
  File ".../venv/lib/python2.7/site-packages/shield/decorators.py", line 5, in <module>
    import sqlalchemy as sa
ImportError: No module named sqlalchemy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant