forked from jpanthail/pyras
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (38 loc) · 1.46 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
# To avoid importing the module
def read_version():
with open("pyras/__init__.py") as f:
lines = f.read().splitlines()
for l in lines:
if "__version__" in l:
return l.split("=")[1].strip().replace("'", '').replace('"', '')
def readme():
return str(open('README.rst').read())
# Check that pywin32 is installed otherwise raise error.
install_requires = []
setup(
name='pyras',
version=read_version(),
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
keywords=["HEC-RAS HEC RAS controller windows"],
url='https://github.com/goanpeca/raspy',
license='MIT',
author='Gonzalo Peña-Castellanos',
author_email='[email protected]',
maintainer='Gonzalo Peña-Castellanos',
maintainer_email='[email protected]',
description='Python Wrapper of HEC RAS COM interface',
long_description=readme(),
install_requires=install_requires,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Win32 (MS Windows)',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Widget Sets'])