-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (41 loc) · 1.28 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
# -*- coding: utf-8 -*-
"""
.. module:: TODO
:platform: Unix
:synopsis: TODO.
.. moduleauthor:: Aljosha Friemann [email protected]
"""
import os
try:
from setuptools import setup, find_packages
except ImportError:
print('Python2 detected, trying workaround')
from distutils.core import setup, find_packages
from eclipsecon import __version__
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname), 'r').read()
if not __version__ or __version__ == '<VERSION>':
raise RuntimeError("Package version not set!")
requirements = [
"click",
"google-api-python-client",
"google-auth",
"google-auth-oauthlib",
"google-auth-httplib2"
]
setup(name="eclipsecon",
author="Aljosha Friemann",
author_email="[email protected]",
description="",
keywords=[],
version=__version__,
license=read('LICENSE'),
long_description=read('README.rst'),
install_requires=requirements,
classifiers=[],
packages=find_packages(exclude=('tests', 'assets')),
entry_points={ 'console_scripts': ['ec=eclipsecon.cli:root'] },
include_package_data=True,
package_data={'': ['assets/*']},
platforms='linux')
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 fenc=utf-8