/
setup.py
executable file
·46 lines (41 loc) · 1.54 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
#
# Copyright 2018 FastWave LLC
#
# Developed by Tomas Pastore <tomas.pastore@fastwavellc.com>
#
# NOTICE: All information contained herein is, and remains the property of
# FastWave LLC. The intellectual and technical concepts contained
# herein are proprietary to FastWave LLC and its suppliers and may be covered
# by U.S. and Foreign Patents, patents in process, and are protected by
# trade secret or copyright law. Dissemination of this information or
# reproduction of this material is strictly forbidden unless prior written
# permission is obtained from FastWave LLC.
from os import path as op
from setuptools import setup
# get the version
version = None
with open(op.join('evtio', '__init__.py'), 'r') as fid:
for line in (line.strip() for line in fid):
if line.startswith('__version__'):
version = line.split('=')[1].strip().strip('\'')
break
if version is None:
raise RuntimeError('Could not determine version')
DIST = 'evtio'
DESC = 'EVT File IO Module.'
URL = 'https://gitlab.liaa.dc.uba.ar/tju-uba/io_evt'
VERSION = version
if __name__ == "__main__":
setup(name=DIST,
maintainer='Tomas Pastore',
maintainer_email='tomas.pastore@fastwavellc.com',
description=DESC,
license='Propietary',
url=URL,
version=VERSION,
download_url=URL,
long_description=open('README.md').read(),
classifiers=['Programming Language :: Python'],
platforms='any',
packages=['evtio'],
package_data={'evtio': []})