forked from osl2/PhyPiDAQ
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (39 loc) · 1.38 KB
/
Copy pathsetup.py
File metadata and controls
44 lines (39 loc) · 1.38 KB
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
42
43
44
import phypidaq # from this directory
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
# class for running unit tests
# from: https://pytest.org/latest/goodpractices.html
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test_output")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = []
def run_tests(self):
import pytest
errcode = pytest.main(self.pytest_args)
sys.exit(errcode)
setup(
name='phypidaq',
version=phypidaq.__version__,
author='Guenter Quast',
author_email='Guenter.Quast@online.de',
packages=['phypidaq'],
package_data={'phypidaq': ['PhyPiDemoData.csv']},
scripts=[],
classifiers=[
'Development Status :: 5 - stable',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
],
url='http://www.ekp.kit.edu/~quast/',
license='GNU Public Licence',
description='Data AcQuisition and analysis for Physics education with Raspberry Pi',
long_description=open('README.md').read(),
setup_requires=[\
"NumPy >= 1.13.3",
"SciPy >= 0.18.1",
"matplotlib >= 2.0.0",]
)