-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathsetup.py
executable file
·51 lines (45 loc) · 1.42 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
#!/usr/bin/env python
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
import sys
sys.exit(pytest.main(self.test_args))
setup(
name='disqus-python',
version='0.4.2',
author='DISQUS',
author_email='opensource@disqus.com',
url='https://github.com/disqus/disqus-python',
description='Disqus API Bindings',
packages=find_packages(),
zip_safe=False,
license='Apache License 2.0',
install_requires=[],
setup_requires=[],
tests_require=[
'pytest',
'mock',
],
cmdclass={'test': PyTest},
include_package_data=True,
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python',
'Topic :: Software Development',
],
)