forked from jjhelmus/pyfive
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
39 lines (36 loc) · 1.25 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
""" Setup script for pyfive. """
from setuptools import setup, find_packages
# get the long descriptions from the README.rst file
with open('README.rst') as f:
long_description = f.read()
# get the version from the __init__.py file
with open('pyfive/__init__.py') as f:
for line in f:
if line.startswith('__version__'):
version = line.strip().split()[-1][1:-1]
break
setup(
name='pyfive',
version=version,
description='A pure python HDF5 file reader',
long_description=long_description,
url='https://github.com/jjhelmus/pyfive',
author='Jonathan J. Helmus',
author_email='jjhelmus@gmail.com',
license='BSD',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Scientific/Engineering',
],
packages=['pyfive'],
install_requires=['numpy'],
)