-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
64 lines (49 loc) · 1.89 KB
/
setup.py
File metadata and controls
64 lines (49 loc) · 1.89 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
import os.path
from setuptools import setup, find_packages
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(BASE_DIR, 'README.rst')) as f:
README = f.read()
with open(os.path.join(BASE_DIR, 'django_mirror/__version__.py')) as f:
exec(f.read())
setup(
name='django-mirror',
version=VERSION,
description='This package marries Django with CodeMirror',
long_description=README,
long_description_content_type='text/x-rst',
url='https://github.com/pavelsof/django-mirror',
author='pavelsof',
author_email='mail@pavelsof.com',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP',
],
keywords='django codemirror',
project_urls={
'Changelog': 'https://github.com/pavelsof/django-mirror/blob/master/CHANGELOG.rst',
'Source': 'https://github.com/pavelsof/django-mirror',
'Tracker': 'https://github.com/pavelsof/django-mirror/issues',
},
packages=find_packages(exclude=['tests']),
install_requires=['django>=2.2'],
python_requires='>=3',
package_data={
'django_mirror': [
'media.json',
'static/django-mirror/*.css',
'static/django-mirror/*.js',
'static/django-mirror/codemirror/addon/*/*.css',
'static/django-mirror/codemirror/addon/*/*.js',
'static/django-mirror/codemirror/lib/*.css',
'static/django-mirror/codemirror/lib/*.js',
'static/django-mirror/codemirror/mode/*/*.js',
'static/django-mirror/codemirror/mode/*.js',
'static/django-mirror/codemirror/theme/*.css',
]
},
)