-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (31 loc) · 965 Bytes
/
setup.py
File metadata and controls
36 lines (31 loc) · 965 Bytes
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
#
# Copyright 2015-2017 Rune Loyning
#
# http://github.com/loyning/python-24so
#
import os
import re
import sys
from setuptools import find_packages
from distutils.core import setup
with open(os.path.join('tfsoffice', '__init__.py')) as init:
source = init.read()
m = re.search("__version__ = '(\d+\.\d+(\.(\d+|[a-z]+))?)'", source, re.M)
__version__ = m.groups()[0]
requirements = ["suds-fc", ]
if sys.version_info.major == 3:
requirements = ["suds-py3", ]
setup(
name="tfsoffice",
version=__version__,
description='Python wrapper for the 24sevenoffice SOAP api',
long_description="This API requires a valid account to 24SevenOffice.com and an API key",
author='Rune Loyning',
author_email='rune@loyning.net',
url='http://github.com/loyning/python-24so/',
keywords='24sevenoffice crm python',
classifiers=[],
packages=find_packages(),
include_package_data=True,
install_requires=requirements,
)