|
1 |
| -#!/usr/bin/env python |
2 |
| - |
3 | 1 | from setuptools import setup
|
4 | 2 |
|
| 3 | + |
| 4 | +def read_requirements(): |
| 5 | + with open('requirements.txt') as f: |
| 6 | + return [line.strip() for line in f.readlines()] |
| 7 | + |
| 8 | + |
| 9 | +def read_readme(): |
| 10 | + with open('README.md') as f: |
| 11 | + return f.read() |
| 12 | + |
| 13 | + |
5 | 14 | setup(
|
6 |
| - setup_requires=['pbr'], |
7 |
| - pbr=True, |
| 15 | + name='openPMD-validator', |
| 16 | + version='1.0.0.0', |
| 17 | + url='https://github.com/openPMD/openPMD-validator', |
| 18 | + # author=..., # TODO |
| 19 | + # author_email=..., # TODO |
| 20 | + # maintainer=..., # TODO |
| 21 | + # maintainer_email=..., # TODO |
| 22 | + license='ISC', |
| 23 | + install_requires=read_requirements(), |
| 24 | + description='Validator and examples for openPMD format', |
| 25 | + long_description=read_readme(), |
| 26 | + classifiers=[ |
| 27 | + # 'Development Status :: 4 - Beta', |
| 28 | + 'Environment :: Console', |
| 29 | + 'Intended Audience :: Science/Research', |
| 30 | + 'License :: OSI Approved :: ISC License (ISCL)', |
| 31 | + 'Operating System :: OS Independent', |
| 32 | + 'Programming Language :: Python :: 2.7', |
| 33 | + 'Programming Language :: Python :: 3', |
| 34 | + 'Topic :: Scientific/Engineering :: Physics', |
| 35 | + ], |
| 36 | + packages=['openpmd_validator'], |
| 37 | + entry_points={ |
| 38 | + 'console_scripts': [ |
| 39 | + 'openPMD_check_h5 = openpmd_validator.check_h5:main', |
| 40 | + 'openPMD_createExamples_h5 = openpmd_validator.createExamples_h5:main', |
| 41 | + ] |
| 42 | + }, |
8 | 43 | )
|
0 commit comments