forked from theatlantic/django-select2-forms
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
41 lines (36 loc) · 1.11 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup_kwargs = {}
try:
setup_kwargs['long_description'] = open('README.rst').read()
except IOError:
# Use the create_readme_rst command to convert README to reStructuredText
pass
setup(
name='django-select2-forms',
version='1.1.25',
description='Django form fields using the Select2 jQuery plugin',
author='Frankie Dintino',
author_email='fdintino@theatlantic.com',
url='https://github.com/theatlantic/django-select2-forms',
packages=find_packages(),
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
],
include_package_data=True,
zip_safe=False,
entry_points={
'distutils.commands': [
'create_readme_rst = select2.build:create_readme_rst',
],
},
**setup_kwargs)