To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

setup.py 1.75 KB
Newer Older
mikolajr's avatar
mikolajr committed
1
2
3
4
5
6
7
#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""The setup script."""

from setuptools import setup, find_packages

mikolajr's avatar
mikolajr committed
8
with open("README.rst") as readme_file:
mikolajr's avatar
mikolajr committed
9
10
    readme = readme_file.read()

mikolajr's avatar
mikolajr committed
11
with open("HISTORY.rst") as history_file:
mikolajr's avatar
mikolajr committed
12
13
    history = history_file.read()

mikolajr's avatar
mikolajr committed
14
requirements = [
mikolajr's avatar
mikolajr committed
15
16
17
18
19
20
21
22
23
24
25
    "pyserial>=3.4",
    "labjack-ljm>=1.20.0",
    "pymodbus==2.1.0",
    "IPy>=0.83",
    "bitstring>=3.1.5",
    "pyvisa>=1.9.1",
    "pyvisa-py>=0.3.1",
    "typeguard>=2.3.0",
    "aenum>=2.1.2",
    "opcua>=0.98.6",
    "cryptography>=2.6.1",  # optional dependency of the opcua package
mikolajr's avatar
mikolajr committed
26
]
27

mikolajr's avatar
mikolajr committed
28
dependency_links = []
mikolajr's avatar
mikolajr committed
29

mikolajr's avatar
mikolajr committed
30
31
32
setup_requirements = [
    "pytest-runner",
]
mikolajr's avatar
mikolajr committed
33

mikolajr's avatar
mikolajr committed
34
35
36
test_requirements = [
    "pytest",
]
mikolajr's avatar
mikolajr committed
37
38

setup(
39
    author="Mikołaj Rybiński, David Graber",
40
    author_email="mikolaj.rybinski@id.ethz.ch, graber@eeh.ee.ethz.ch",
mikolajr's avatar
mikolajr committed
41
    classifiers=[
mikolajr's avatar
mikolajr committed
42
43
44
45
46
47
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
        "Natural Language :: English",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.7",
mikolajr's avatar
mikolajr committed
48
49
    ],
    description="Python common code base to control devices used in Christian Franck's High Voltage Lab (HVL), D-ITET, ETH",
mikolajr's avatar
mikolajr committed
50
    entry_points={},
mikolajr's avatar
mikolajr committed
51
    install_requires=requirements,
52
    dependency_links=dependency_links,
mikolajr's avatar
mikolajr committed
53
    license="GNU General Public License v3",
mikolajr's avatar
mikolajr committed
54
    long_description=readme + "\n\n" + history,
mikolajr's avatar
mikolajr committed
55
    include_package_data=True,
mikolajr's avatar
mikolajr committed
56
57
58
    keywords="hvl_ccb",
    name="hvl_ccb",
    package_data={"hvl_ccb": ["py.typed"],},
mikolajr's avatar
Fix #6    
mikolajr committed
59
    packages=find_packages(),
mikolajr's avatar
mikolajr committed
60
    setup_requires=setup_requirements,
mikolajr's avatar
mikolajr committed
61
    test_suite="tests",
mikolajr's avatar
mikolajr committed
62
    tests_require=test_requirements,
mikolajr's avatar
mikolajr committed
63
    url='https://gitlab.ethz.ch/hvl/hvl_ccb',
mikolajr's avatar
mikolajr committed
64
    version='0.3.3',
mikolajr's avatar
mikolajr committed
65
66
    zip_safe=False,
)