Permalink
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (43 sloc) 1.54 KB
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', ],
)