From 413a9231723db923479ad0e821c4bc4b48b65f20 Mon Sep 17 00:00:00 2001 From: Adam Thomas Date: Tue, 6 Oct 2015 12:46:47 +0100 Subject: [PATCH] Reformat requirements a bit. --- requirements.txt | 5 +---- setup.cfg | 3 --- setup.py | 13 ++++++++++++- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/requirements.txt b/requirements.txt index 9e4cfdb..4ba17b6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,11 +3,8 @@ colour-runner==0.0.4 coverage==4.0.0 dj-database-url==0.3 django==1.8.5 -django-pgcrypto-fields==1.0.0 -djangorestframework==3.2.4 factory_boy==2.5.2 flake8-import-order==0.5.1 incuna-test-utils==6.3.1 psycopg2==2.6.1 -simplejson==3.8.0 -wheel==0.24.0 \ No newline at end of file +wheel==0.24.0 diff --git a/setup.cfg b/setup.cfg index 655c57d..27a41db 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,6 +5,3 @@ exclude = *migrations* statistics = true application-import-names = model_logging import-order-style = google - -[wheel] -universal = 1 \ No newline at end of file diff --git a/setup.py b/setup.py index fb37010..d9309e8 100644 --- a/setup.py +++ b/setup.py @@ -4,6 +4,15 @@ version = '0.1.0' +extras_require={ + 'model_logging': [ + 'django-pgcrypto-fields>=1.0.0,<2.0.0', + 'simplejson>=3.8.0,<4.0.0', + 'djangorestframework>=3.2.4,<4.0.0', + ] +} + + setup( name='django-model-logging', packages=find_packages(), @@ -15,7 +24,7 @@ author_email='admin@incuna.com', url='https://github.com/incuna/django-model-logging/', install_requires=[], - extras_require={}, + extras_require=extras_require, zip_safe=False, license='BSD', classifiers=[ @@ -24,7 +33,9 @@ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Natural Language :: English', + 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3 :: Only', 'Topic :: Software Development :: Testing', ], )