2011-05-30 09:03:04 +10:00
|
|
|
#!/usr/bin/env python
|
2013-12-18 20:06:22 +11:00
|
|
|
|
2014-12-15 04:03:35 +11:00
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
2018-04-29 19:47:24 +10:00
|
|
|
long_description = '\n\n'.join((
|
2013-12-18 21:41:39 +11:00
|
|
|
open('README.rst').read(),
|
2018-04-30 01:44:34 +10:00
|
|
|
open('CHANGELOG.rst').read()
|
2013-12-18 21:41:39 +11:00
|
|
|
))
|
2013-11-25 07:06:46 +11:00
|
|
|
setup(
|
|
|
|
name='dpaste',
|
2018-06-22 20:57:45 +10:00
|
|
|
version='3.0a6',
|
2013-11-30 05:55:30 +11:00
|
|
|
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.',
|
2013-12-18 21:41:39 +11:00
|
|
|
long_description=long_description,
|
2013-11-30 05:55:30 +11:00
|
|
|
author='Martin Mahner',
|
|
|
|
author_email='martin@mahner.org',
|
|
|
|
url='https://github.com/bartTC/dpaste/',
|
2013-12-14 23:17:53 +11:00
|
|
|
classifiers=[
|
2013-11-30 05:55:30 +11:00
|
|
|
'Development Status :: 5 - Production/Stable',
|
|
|
|
'Environment :: Web Environment',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
'Operating System :: OS Independent',
|
2014-12-28 23:20:29 +11:00
|
|
|
'Programming Language :: Python :: 3',
|
2013-11-30 05:55:30 +11:00
|
|
|
'Framework :: Django',
|
2013-12-14 23:17:53 +11:00
|
|
|
],
|
2018-05-01 18:31:01 +10:00
|
|
|
python_requires='>=3.4',
|
2013-11-25 07:06:46 +11:00
|
|
|
packages=find_packages(),
|
2013-12-18 21:41:27 +11:00
|
|
|
package_data={
|
|
|
|
'dpaste': ['static/*.*', 'templates/*.*'],
|
|
|
|
'docs': ['*'],
|
|
|
|
},
|
2013-12-14 23:17:53 +11:00
|
|
|
include_package_data=True,
|
|
|
|
install_requires=[
|
2018-04-06 05:18:22 +10:00
|
|
|
# Essential packages
|
2018-03-12 21:59:38 +11:00
|
|
|
'django>=1.11',
|
2013-11-25 07:06:46 +11:00
|
|
|
'pygments>=1.6',
|
2018-04-30 01:44:34 +10:00
|
|
|
'django-staticinline>=1.0',
|
2018-04-06 05:18:22 +10:00
|
|
|
|
|
|
|
# Additional Code Lexer
|
2018-04-06 03:34:26 +10:00
|
|
|
'pygments-lexer-solidity>=0.1.0',
|
2018-04-06 05:18:22 +10:00
|
|
|
|
|
|
|
# Additional Text Lexer
|
|
|
|
'misaka>=2.1.0',
|
|
|
|
'docutils',
|
|
|
|
|
|
|
|
# Testsuite
|
2018-03-12 21:59:38 +11:00
|
|
|
'tox',
|
2018-01-08 03:20:50 +11:00
|
|
|
'coverage',
|
2013-12-18 20:06:22 +11:00
|
|
|
],
|
2018-03-12 21:59:38 +11:00
|
|
|
extras_require={
|
2018-04-29 19:31:18 +10:00
|
|
|
# Packages required for a standalone setup
|
2018-03-12 21:59:38 +11:00
|
|
|
# (not integrated into an existing setup and settings)
|
2018-06-22 19:42:00 +10:00
|
|
|
'standalone': [
|
|
|
|
'django-csp>=3.3',
|
|
|
|
],
|
|
|
|
# Useful tools for local development
|
|
|
|
'local-development': [
|
2018-03-12 21:59:38 +11:00
|
|
|
'django-csp>=3.3',
|
2018-06-22 19:42:00 +10:00
|
|
|
'django-sslserver',
|
|
|
|
'sphinx',
|
|
|
|
'sphinx-autobuild',
|
|
|
|
'sphinx-rtd-theme',
|
|
|
|
'sphinxcontrib-httpdomain',
|
|
|
|
]
|
2018-04-29 19:23:54 +10:00
|
|
|
}
|
2013-11-25 07:06:46 +11:00
|
|
|
)
|
2018-06-22 19:42:00 +10:00
|
|
|
|