-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (45 loc) · 1.55 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
from __future__ import print_function
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = ['--strict', '--verbose', '--tb=long', 'test']
self.test_suite = True
def run_tests(self):
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setup(
name='pyaem',
version='0.9.1',
url='http://github.com/cliffano/pyaem/',
license='MIT License',
author='Cliffano Subagio',
tests_require=['mock', 'pytest'],
install_requires=['BeautifulSoup>=3.2.1',
'pycurl>=7.19.0.0'
],
cmdclass={'test': PyTest},
author_email='cliffano@gmail.com',
description='Python client for Adobe Experience Manager (AEM) API',
long_description='Python client for Adobe Experience Manager (AEM) API',
packages=['pyaem'],
include_package_data=True,
platforms='any',
test_suite='pyaem.test.test_pyaem',
classifiers = [
'Programming Language :: Python',
'Development Status :: 4 - Beta',
'Natural Language :: English',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
extras_require={
'testing': ['pytest'],
}
)