forked from cubewise-code/tm1py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (39 loc) · 1.22 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
import codecs
import os
import sys
from setuptools import setup
SCHEDULE_VERSION = '0.1.0'
SCHEDULE_DOWNLOAD_URL = (
'https://github.com/MariusWirtz/TM1py/tarball/' + SCHEDULE_VERSION
)
def read_file(filename):
"""
Read a utf8 encoded text file and return its contents.
"""
with codecs.open(filename, 'r', 'utf8') as f:
return f.read()
setup(
name='TM1py',
packages=['TM1py', 'TM1py/Exceptions', 'TM1py/Objects', 'TM1py/Objects', 'TM1py/Services', 'TM1py/Utils'],
version=SCHEDULE_VERSION,
description='A python module for TM1.',
long_description=read_file('README.rst'),
license='MIT',
author='Marius Wirtz',
author_email='MWirtz@cubewise.com',
url='https://github.com/MariusWirtz/TM1py',
download_url=SCHEDULE_DOWNLOAD_URL,
keywords=[
'TM1', 'IBM Cognos TM1', 'Planning Analytics', 'PA', 'Cognos'
],
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Natural Language :: English',
],
install_requires=['requests'],
python_requires='>=3.5',
)