forked from lqez/django-summernote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (43 loc) · 1.54 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
50
51
import os
from setuptools import setup, find_packages
from django_summernote import version, PROJECT
MODULE_NAME = 'django_summernote'
PACKAGE_DATA = list()
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
]
for directory in ['static', 'templates']:
for root, dirs, files in os.walk(os.path.join(MODULE_NAME, directory)):
for filename in files:
PACKAGE_DATA.append("%s/%s" % (root[len(MODULE_NAME) + 1:],
filename))
setup(
name=PROJECT,
version=version,
packages=find_packages(),
package_data={'': PACKAGE_DATA, },
zip_safe=False,
author='Park Hyunwoo',
author_email='ez.amiryo' '@' 'gmail.com',
maintainer='Park Hyunwoo',
maintainer_email='ez.amiryo' '@' 'gmail.com',
url='http://github.com/summernote/django-summernote',
description='Summernote plugin for Django',
classifiers=CLASSIFIERS,
install_requires=['django', ],
test_suite='runtests.runtests',
tests_require=['django-dummy-plug', ],
)