From f55b21a6d6c4073bef5bf2bcbb12da95bf5b22a4 Mon Sep 17 00:00:00 2001 From: androiddrew Date: Wed, 6 Jun 2018 11:00:19 -0400 Subject: [PATCH] Modifying setup for .deb package creation and fixing requirements --- MANIFEST.in | 2 ++ requirements.txt | 8 ++++---- setup.py | 12 +++++++----- 3 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..8a86621 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +recursive-include cookie_api/templates/* +recursive-include cookie_api/static/* \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 4554712..376c2af 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,23 +1,23 @@ alembic==0.9.9 apistar==0.5.18 -apistar-mail=0.3.0 +apistar-mail==0.3.0 apistar-jwt==0.4.2 bcrypt==3.1.4 certifi==2018.4.16 cffi==1.11.5 chardet==3.0.4 -click=6.7 +click==6.7 idna==2.6 Jinja2==2.10 Logbook==1.3.3 Mako==1.0.7 MarkupSafe==1.0 -psycopg2==2.7.4 +psycopg2-binary==2.7.4 pycparser==2.18 PyJWT==1.6.1 python-dateutil==2.7.2 python-editor==1.0.3 -pyyaml=3.12 +pyyaml==3.12 requests==2.18.4 six==1.11.0 SQLAlchemy==1.2.7 diff --git a/setup.py b/setup.py index fe3965f..383371f 100644 --- a/setup.py +++ b/setup.py @@ -3,8 +3,8 @@ from setuptools import setup, find_packages with open('README.md') as readme_file: readme = readme_file.read() -with open('requirements.txt') as requirements_file: - requirements = requirements_file.read() +# with open('requirements.txt') as requirements_file: +# requirements = requirements_file.read() test_requirements = [ 'pytest', @@ -18,12 +18,14 @@ setup( description='The Cookie API serves as a simple experimentation application for testing concepts in the APIStar ' 'platform.', long_description=readme, - author="Drew Bednar", + author='Drew Bednar', author_email='drew@androiddrew.com', + maintainer='Drew Bednar', + maintainer_email='drew@androiddrew.com', url='https://git.androiddrew.com/androiddrew/cookie-api', - packages=find_packages(include=['cookie_api']), + packages=find_packages(), include_package_data=True, - install_requires=requirements, + # install_requires=requirements, license='MIT', classifiers=[ 'Development Status :: 2 - Pre-Alpha',