diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..2a9acf1 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal = 1 diff --git a/setup.py b/setup.py index 2c4b634..90f8c13 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,6 @@ -from distutils.core import setup from distutils.core import Command +from setuptools import setup + class TestCommand(Command): user_options = [] @@ -12,9 +13,10 @@ def finalize_options(self): def run(self): from django.conf import settings - settings.configure(DATABASES={'default': {'NAME': ':memory:', - 'ENGINE': 'django.db.backends.sqlite3'}}, - INSTALLED_APPS=('jsonfield',)) + settings.configure( + DATABASES={'default': {'NAME': ':memory:', 'ENGINE': 'django.db.backends.sqlite3'}}, + INSTALLED_APPS=('jsonfield',) + ) from django.core.management import call_command import django @@ -22,11 +24,12 @@ def run(self): django.setup() call_command('test', 'jsonfield') -setup(name='jsonfield', + +setup( + name='jsonfield', version='1.0.3', packages=['jsonfield'], license='MIT', - include_package_data=True, author='Brad Jasper', author_email='bjasper@gmail.com', url='https://github.com/bradjasper/django-jsonfield/',