-
Notifications
You must be signed in to change notification settings - Fork 114
/
setup.py
31 lines (25 loc) · 964 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
from setuptools import setup, find_packages
def listify(filename):
with open(filename, "r") as f:
return list(filter(None, f.read().splitlines()))
with open("README.rst", "r") as frm:
long_description = frm.read()
setup(
name="django-dirtyfields",
version="1.6.0",
url='https://github.com/romgar/django-dirtyfields',
project_urls={
"Documentation": "https://django-dirtyfields.readthedocs.org/en/develop/",
"Changelog": "https://github.com/romgar/django-dirtyfields/blob/develop/ChangeLog.rst",
},
license='BSD',
description=("Tracking dirty fields on a Django model instance "
"(actively maintained)"),
long_description=long_description,
long_description_content_type="text/x-rst",
author='Romain Garrigues',
packages=find_packages('src'),
package_dir={'': 'src'},
install_requires=listify('requirements.txt'),
classifiers=listify('CLASSIFIERS.txt')
)