forked from saxix/django-adminactions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·37 lines (32 loc) · 1.13 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
#!/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()
setup(
name=NAME,
version=RELEASE,
url='https://github.com/saxix/django-adminactions',
download_url='https://github.com/saxix/django-adminactions',
author='sax',
author_email='[email protected]',
description="Collections of useful actions to use with django.contrib.admin.ModelAdmin",
license='BSD',
# ['adminactions', 'webtests', 'adminactions.templatetags']
# packages=find_packages(),
packages=['adminactions', 'adminactions.templatetags'],
include_package_data=True,
install_requires=fread('adminactions/requirements.pip').split('\n'),
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()
)