Skip to content

Commit c6424ea

Browse files
authored
Merge pull request #11 from histogrammar/1.0.x
1.0.x
2 parents 267ea8b + 32f7e73 commit c6424ea

15 files changed

Lines changed: 157 additions & 587 deletions

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ addons:
1313
packages:
1414
- python-numpy
1515
- python3-numpy
16+
- python-setuptools
1617

1718
install:
1819
- pip install --upgrade pip

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Python implementation of Histogrammar
22
=====================================
33

4+
[![DOI](https://zenodo.org/badge/doi/10.5281/zenodo.61418.svg)](http://dx.doi.org/10.5281/zenodo.61418)
5+
46
See [histogrammar.org](http://histogrammar.org) for a complete introduction to Histogrammar.
57

68
This is a pure Python implementation for Python versions 2.6, 2.7, and 3.4.

setup.py

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,28 @@
1515
# limitations under the License.
1616

1717
import sys
18-
from distutils.core import setup
19-
from distutils.cmd import Command
18+
from setuptools import setup, find_packages
2019

2120
import histogrammar.version
2221

23-
class TestCommand(Command):
24-
user_options = []
25-
def initialize_options(self): pass
26-
def finalize_options(self): pass
27-
def run(self):
28-
import sys, subprocess
29-
if sys.version_info[0] == 2 and sys.version_info[1] == 6:
30-
args = ["-c", "import unittest; from test.testbasic import *; from test.testnumpy import *; from test.testrootcling import *; from test.testgpu import *; unittest.main()"]
31-
else:
32-
args = ["-m", "unittest", "-v", "test.testbasic", "test.testnumpy", "test.testrootcling", "test.testgpu"]
33-
raise SystemExit(subprocess.call([sys.executable] + args))
34-
35-
setup(name="Histogrammar",
36-
version=histogrammar.version.__version__,
37-
scripts=["scripts/hgwatch"],
38-
description="Composable histogram primitives for distributed data reduction.",
39-
author="Jim Pivarski (DIANA-HEP)",
40-
author_email="pivarski@fnal.gov",
41-
url="https://github.com/diana-hep/histogrammar",
42-
cmdclass={"test": TestCommand},
43-
packages=["histogrammar", "histogrammar.primitives", "histogrammar.plot", "histogrammar.pycparser", "histogrammar.pycparser.ply"],
22+
setup(name = "Histogrammar",
23+
version = histogrammar.version.__version__,
24+
packages = find_packages(),
25+
scripts = ["scripts/hgwatch"],
26+
description = "Composable histogram primitives for distributed data reduction.",
27+
author = "Jim Pivarski (DIANA-HEP)",
28+
author_email = "pivarski@fnal.gov",
29+
url = "http://histogrammar.org",
30+
license = "Apache Software License v2",
31+
test_suite = "tests",
32+
install_requires = [],
33+
tests_require = [],
34+
classifiers = ["Development Status :: 5 - Production/Stable",
35+
"Environment :: Console",
36+
"Intended Audience :: Science/Research",
37+
"License :: OSI Approved :: Apache Software License",
38+
"Topic :: Scientific/Engineering :: Information Analysis",
39+
"Topic :: Scientific/Engineering :: Mathematics",
40+
"Topic :: Scientific/Engineering :: Physics",
41+
],
4442
)

0 commit comments

Comments
 (0)