-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·31 lines (27 loc) · 924 Bytes
/
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
#!/usr/bin/env python3
from setuptools import find_packages, setup
with open('VERSION.txt', 'r') as v:
version = v.read().strip()
with open('README.md', 'r') as r:
readme = r.read()
download_url = (
'https://github.com/jerinpetergeorge/django-simple-select2/archive/v%s.tar.gz'
)
setup(
name='django-simple-select2',
packages=find_packages(),
version=version,
description='Tweaks for existing built-in Django\'s autocomplete feature',
long_description=readme,
author='Jerin Peter George',
author_email='[email protected]',
url='https://github.com/jerinpetergeorge/django-simple-select2',
download_url=download_url % version,
python_requires='>=3.6',
setup_requires=[
'setuptools>=38.6.0', # for long_description_content_type
],
install_requires=['Django>=2.2'],
long_description_content_type='text/markdown',
license='MIT-Zero'
)