forked from DarrenOfficial/dpaste
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
72 lines (65 loc) · 1.94 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/usr/bin/env python
from setuptools import find_packages, setup
long_description = '\n\n'.join((
open('README.rst').read(),
open('CHANGELOG.rst').read()
))
import dpaste
setup(
name='dpaste',
version=dpaste.__version__,
description='dpaste is a Django based pastebin. It\'s intended to run '
'separately but its also possible to be installed into an '
'existing Django project like a regular app.',
long_description=long_description,
author='Martin Mahner',
author_email='[email protected]',
url='https://github.com/bartTC/dpaste/',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Framework :: Django',
],
python_requires='>=3.4',
packages=find_packages(),
package_data={
'dpaste': ['static/*.*', 'templates/*.*'],
'docs': ['*'],
},
include_package_data=True,
install_requires=[
# Essential packages
'six',
'django>=1.11',
'pygments>=1.6',
'django-staticinline>=1.0',
# Additional Code Lexer
'pygments-lexer-solidity>=0.1.0',
# Additional Text Lexer
'misaka>=2.1.0',
'docutils',
# Testsuite
'tox',
'coverage',
],
extras_require={
# Packages required for a standalone setup
# (not integrated into an existing setup and settings)
'standalone': [
'django-csp>=3.3',
],
# Useful tools for local development
'local-development': [
'django-csp>=3.3',
'django-sslserver',
'sphinx',
'sphinx-autobuild',
'sphinx-rtd-theme',
'sphinxcontrib-httpdomain',
]
}
)