forked from saxix/django-adminactions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·44 lines (38 loc) · 1.29 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
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
import adminactions as app
NAME = app.NAME
RELEASE = app.get_version()
def fread(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
tests_require = fread('adminactions/requirements/testing.pip')
setup(
name=NAME,
version=RELEASE,
url='https://github.com/saxix/django-adminactions',
download_url='https://github.com/saxix/django-adminactions',
author='sax',
author_email='s.apostolico@gmail.com',
description="Collections of useful actions to use with django.contrib.admin.ModelAdmin",
license='BSD',
packages=find_packages(),
# packages=['adminactions', 'adminactions.templatetags'],
include_package_data=True,
install_requires=fread('adminactions/requirements/install.pip'),
tests_require=tests_require,
extras_require={
'tests': tests_require,
},
test_suite='conftest.runtests',
#cmdclass={'test': 'conftest.runtests'},
zip_safe=False,
platforms=['any'],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Intended Audience :: Developers'],
long_description=open('README.rst').read()
)