This repository has been archived by the owner on Jul 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
57 lines (48 loc) · 1.84 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
from setuptools.command.test import test as TestCommand
import setuptools
import sys
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = []
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
# import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.pytest_args)
sys.exit(errno)
if __name__ == "__main__":
setuptools.setup(
name="economic-py",
description="Sync Jira issues and Google Calendar events with e-conomic",
license='MIT',
url="https://github.com/pawel-lewtak/economic-py",
version="0.9",
author="Pawel Lewtak",
maintainer='Pawel Lewtak',
long_description='',
packages=setuptools.find_packages(),
tests_require=['pytest', 'pep257'],
install_requires=[
"gdata>=2.0.18,<=3.0",
"requests>=2.9.1,<=3.0",
"click>=6.2,<=7.0",
"responses>=0.5.1,<=1.0",
"google-api-python-client>=1.4.2,<=2.0"
],
cmdclass={'test': PyTest},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
# 'Programming Language :: Python :: 3',
],
)