-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
51 lines (44 loc) · 1.64 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
#!/usr/bin/env python
import codecs
import os
from setuptools import find_packages, setup
with open(os.path.join("gliderflight","__init__.py"), "r") as fh:
while True:
line = fh.readline()
if line.startswith("__version__"):
VERSION = line.split("=")[1].strip().replace('"','').replace("'",'')
break
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, 'README.rst'), encoding='utf8') as fh:
long_description = fh.read()
with open('requirements.txt') as fobj:
install_requires = [line.strip() for line in fobj]
#scripts = ['']
setup(
name='gliderflight',
version=VERSION,
description='Flight model for Slocum ocean gliders',
long_description=long_description,
long_description_content_type="text/x-rst",
url='https://github.com/smerckel/gliderflight',
author='Lucas Merckelbach',
author_email='[email protected]',
license='MIT',
packages=['gliderflight'],
#packages=find_packages(where='.', exclude=['tests', 'docs'])
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Environment :: Console',
'Natural Language :: English',
'Operating System :: MacOS',
'Operating System :: POSIX',
'Programming Language :: Python :: 3.6',
],
keywords=['ocean gliders', 'glider flight', 'oceanography'],
install_requires=install_requires,
include_package_data=True,
entry_points = {'console_scripts':['glidertrim = gliderflight.glidertrim:main'],
'gui_scripts':[]}
)