-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
49 lines (41 loc) · 1.27 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
42
43
44
45
46
47
48
49
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
from admin_sort import __version__
DESCRIPTION = (
'Sortable changelist, tabular and stacked inlines, '
'drag-and-drop and dropdowns'
)
CLASSIFIERS = [
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Development Status :: 4 - Beta',
]
def read(fname):
# read the contents of a text file
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-admin-sort',
version=__version__,
author='Alaric Mägerle',
author_email='[email protected]',
description=DESCRIPTION,
long_description=read('README.md'),
long_description_content_type="text/markdown",
url='https://github.com/rouxcode/django-admin-sort',
license='The MIT License',
keywords=['django'],
platforms=['OS Independent'],
classifiers=CLASSIFIERS,
install_requires=[
'django>=2.2',
],
packages=find_packages(exclude=['example', 'docs']),
include_package_data=True,
zip_safe=False,
)