-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (39 loc) · 1.29 KB
/
setup.py
File metadata and controls
46 lines (39 loc) · 1.29 KB
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
import os
import io
from setuptools import setup, find_packages
metadata = {}
# Required modules
required = [
'requests>=2.21.0',
]
# Get working directory
cur_dir = os.path.abspath(os.path.dirname(__file__))
# Get README content
with io.open(os.path.join(cur_dir, 'README.md'), mode='r', encoding='utf-8') as f:
long_description = '\n' + f.read()
# Get project version
with io.open(os.path.join(cur_dir, 'slipo', '__version__.py'), mode='r', encoding='utf-8') as f:
exec(f.read(), metadata)
setup(
name='slipo',
version=metadata['__version__'],
author='Yannis Kouvaras',
author_email='jkouvar@imis.athena-innovation.gr',
license='Apache Software License',
description='SLIPO API Python client',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/SLIPO-EU/slipo-python',
packages=find_packages(),
python_requires='>=3',
classifiers=[
'Programming Language :: Python :: 3',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
],
install_requires=required,
keywords='poi linked-data point-of-interest data-integration',
test_suite='nose.collector',
tests_require=['nose'],
)