forked from dagoof/sqlalchemy-fsm
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ilja Orlovs
committed
Jan 20, 2018
1 parent
67aaf68
commit 68bdbf2
Showing
5 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ pytest-pep8>=1.0.6 | |
pytest-runner>=3.0 | ||
python-coveralls>=2.9.1 | ||
|
||
-r requirements.txt | ||
-r production.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
SQLAlchemy>=1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,29 @@ | ||
#!/usr/bin/env python | ||
import os | ||
|
||
from setuptools import setup | ||
|
||
THIS_DIR = os.path.dirname(os.path.abspath(__file__)) | ||
|
||
def get_production_requirements(): | ||
"""Returns list of production requirements from ./requirements/production.txt""" | ||
with open(os.path.join(THIS_DIR, "requirements", "production.txt"), "r") as fobj: | ||
return [ | ||
line.strip() | ||
for line in fobj.readlines() | ||
if line.strip() | ||
] | ||
|
||
setup( | ||
name='sqlalchemy_fsm', | ||
packages=['sqlalchemy_fsm'], | ||
py_modules=['sqlalchemy_fsm'], | ||
description='Finite state machine field for sqlalchemy', | ||
author='Peter & Ilja', | ||
author_email='ilja@wise.fish', | ||
version='0.0.1', | ||
version='0.0.2', | ||
url='https://github.com/dagoof/sqlalchemy-fsm', | ||
install_requires=get_production_requirements(), | ||
setup_requires=['pytest-runner'], | ||
tests_require=['pytest'] | ||
) |