-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup.py
41 lines (38 loc) · 1.35 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
""" 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='[email protected]',
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.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Topic :: Scientific/Engineering',
],
packages=['pyfive'],
install_requires=['numpy'],
)