forked from django-ckeditor/django-ckeditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (37 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
import os.path
from setuptools import setup, find_packages
def get_source_files():
for dirname, _, files in os.walk('ckeditor/static/ckeditor/ckeditor/_source'):
for filename in files:
yield os.path.join('/'.join(dirname.split('/')[1:]), filename)
setup(
name='django-ckeditor',
version='4.0.2',
description='Django admin CKEditor integration.',
long_description=open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
author='Shaun Sephton',
author_email='[email protected]',
url='http://github.com/shaunsephton/django-ckeditor',
packages=find_packages(exclude=['project', ]),
install_requires=[
'Pillow',
],
include_package_data=True,
exclude_package_data={
'ckeditor': list(get_source_files()),
},
test_suite="setuptest.setuptest.SetupTestSuite",
tests_require=[
'django-setuptest>=0.1.1',
],
classifiers=[
"Programming Language :: Python",
"License :: OSI Approved :: BSD License",
"Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"Framework :: Django",
"Intended Audience :: Developers",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
],
zip_safe=False,
)