-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (34 loc) · 1.09 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
from setuptools import find_packages, setup
import os
import ast
import re
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open(os.path.join('django_admin_extras', '__init__.py'), 'rb') as f:
version = str(
ast.literal_eval(_version_re.search(f.read().decode('utf-8')).group(1))
)
setup(
name='django-admin-extras',
version=version,
description='Extra features for django.contrib.admin',
long_description=open('README.rst').read(),
url='https://github.com/artrey/django-admin-extras.git',
author='Alexander Ivanov',
author_email='[email protected]',
license='MIT',
classifiers=[
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: PyPy',
],
keywords='django admin filter',
packages=find_packages(),
install_requires=[
'django>=2.0',
],
include_package_data=True,
zip_safe=False,
platforms='any',
)