Modifying setup for .deb package creation and fixing requirements

deb
androiddrew 7 years ago
parent de9ff6adc9
commit f55b21a6d6

@ -0,0 +1,2 @@
recursive-include cookie_api/templates/*
recursive-include cookie_api/static/*

@ -1,23 +1,23 @@
alembic==0.9.9 alembic==0.9.9
apistar==0.5.18 apistar==0.5.18
apistar-mail=0.3.0 apistar-mail==0.3.0
apistar-jwt==0.4.2 apistar-jwt==0.4.2
bcrypt==3.1.4 bcrypt==3.1.4
certifi==2018.4.16 certifi==2018.4.16
cffi==1.11.5 cffi==1.11.5
chardet==3.0.4 chardet==3.0.4
click=6.7 click==6.7
idna==2.6 idna==2.6
Jinja2==2.10 Jinja2==2.10
Logbook==1.3.3 Logbook==1.3.3
Mako==1.0.7 Mako==1.0.7
MarkupSafe==1.0 MarkupSafe==1.0
psycopg2==2.7.4 psycopg2-binary==2.7.4
pycparser==2.18 pycparser==2.18
PyJWT==1.6.1 PyJWT==1.6.1
python-dateutil==2.7.2 python-dateutil==2.7.2
python-editor==1.0.3 python-editor==1.0.3
pyyaml=3.12 pyyaml==3.12
requests==2.18.4 requests==2.18.4
six==1.11.0 six==1.11.0
SQLAlchemy==1.2.7 SQLAlchemy==1.2.7

@ -3,8 +3,8 @@ from setuptools import setup, find_packages
with open('README.md') as readme_file: with open('README.md') as readme_file:
readme = readme_file.read() readme = readme_file.read()
with open('requirements.txt') as requirements_file: # with open('requirements.txt') as requirements_file:
requirements = requirements_file.read() # requirements = requirements_file.read()
test_requirements = [ test_requirements = [
'pytest', 'pytest',
@ -18,12 +18,14 @@ setup(
description='The Cookie API serves as a simple experimentation application for testing concepts in the APIStar ' description='The Cookie API serves as a simple experimentation application for testing concepts in the APIStar '
'platform.', 'platform.',
long_description=readme, long_description=readme,
author="Drew Bednar", author='Drew Bednar',
author_email='drew@androiddrew.com', author_email='drew@androiddrew.com',
maintainer='Drew Bednar',
maintainer_email='drew@androiddrew.com',
url='https://git.androiddrew.com/androiddrew/cookie-api', url='https://git.androiddrew.com/androiddrew/cookie-api',
packages=find_packages(include=['cookie_api']), packages=find_packages(),
include_package_data=True, include_package_data=True,
install_requires=requirements, # install_requires=requirements,
license='MIT', license='MIT',
classifiers=[ classifiers=[
'Development Status :: 2 - Pre-Alpha', 'Development Status :: 2 - Pre-Alpha',

Loading…
Cancel
Save