dpaste/setup.py

62 lines
1.7 KiB
Python
Raw Normal View History

2011-05-30 09:03:04 +10:00
#!/usr/bin/env python
2018-04-29 19:23:54 +10:00
import sys
2014-12-15 04:03:35 +11:00
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
long_description = u'\n\n'.join((
open('README.rst').read(),
open('CHANGELOG').read()
))
setup(
name='dpaste',
version='3.0a3',
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='martin@mahner.org',
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 :: 2',
'Programming Language :: Python :: 3',
'Framework :: Django',
],
packages=find_packages(),
2013-12-18 21:41:27 +11:00
package_data={
'dpaste': ['static/*.*', 'templates/*.*'],
'docs': ['*'],
},
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',
'pygments>=1.6',
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',
],
2018-03-12 21:59:38 +11:00
extras_require={
# Packages required for a standalone setup
# (not integrated into an existing setup and settings)
'standalone': {
'django-csp>=3.3',
}
2018-04-29 19:23:54 +10:00
}
)