-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
64 lines (55 loc) · 1.66 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
58
59
60
61
62
63
64
import os
import io
from setuptools import setup, find_packages
metadata = {}
# Required modules
install_requires = [
'jinja2>=2.10',
'pandas>=0.24.2',
'slipo>=0.1.5',
]
extras_require = {
':python_version >= "3.4"': [
'IPython>=6.0.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, 'slipoframes', '__version__.py'), mode='r', encoding='utf-8') as f:
exec(f.read(), metadata)
PACKAGE_DATA = {
'slipoframes': [
'templates/*',
'templates/css/*',
'templates/js/*',
],
}
setup(
name='slipoframes',
version=metadata['__version__'],
author='Yannis Kouvaras',
author_email='jkouvar@imis.athena-innovation.gr',
license='Apache Software License',
description='SLIPO API client for Jupyter notebooks',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/SLIPO-EU/slipo-frames',
packages=find_packages(),
python_requires='>=3',
extras_require=extras_require,
classifiers=[
'Programming Language :: Python :: 3',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
],
install_requires=install_requires,
keywords='poi linked-data point-of-interest data-integration jupyter-notebook',
test_suite='nose.collector',
tests_require=['nose'],
package_data=PACKAGE_DATA,
)