-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
45 lines (36 loc) · 980 Bytes
/
setup.py
File metadata and controls
45 lines (36 loc) · 980 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
37
38
39
40
41
42
43
44
45
"""
Installation file for python kth module
"""
import os
from io import open as io_open
from setuptools import setup, find_packages
package_name = 'kth'
source_name = 'src'
__version__ = None
filepath = os.path.dirname(__file__)
version_file = os.path.join(filepath, source_name, '__version__.py')
with io_open(version_file, mode='r') as fd:
exec(fd.read())
def readme():
with open('README.md') as readme_file:
return readme_file.read()
def license():
with open('LICENSE') as readme_file:
return readme_file.read()
setup(
name=package_name,
package_dir={'': 'src'},
packages={'canteraKTH',
'keyfi',
'NN',
'POD',
'TDA'
},
version=__version__,
description='kth package containing collections',
long_description=readme(),
author='Kai Zhang',
author_email='kaizhang@kth.se',
url='https://github.com/WWIIWWIIWW/kth',
license=license()
)