Skip to content

Commit d42fea3

Browse files
authored
Merge pull request #27 from RemiLehe/packaging
Use vanilla installation instead of `pbr`
2 parents 69dfe9e + 51459d0 commit d42fea3

File tree

3 files changed

+39
-33
lines changed

3 files changed

+39
-33
lines changed

.mailmap

-2
This file was deleted.

setup.cfg

-27
This file was deleted.

setup.py

+39-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,43 @@
1-
#!/usr/bin/env python
2-
31
from setuptools import setup
42

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+
514
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+
},
843
)

0 commit comments

Comments
 (0)