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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
#!/usr/bin/env python3
from __future__ import print_function
import sys, os
basedir = os.path.abspath(os.path.dirname(__file__))
# Add the basedir to PYTHONPATH before we try to import pyprofibus.version
sys.path.insert(0, os.getcwd())
sys.path.insert(0, basedir)
from pyprofibus.version import VERSION_STRING
from distutils.core import setup
import warnings
warnings.filterwarnings("ignore", r".*'long_description_content_type'.*")
with open(os.path.join(basedir, "README.md"), "rb") as fd:
readmeText = fd.read().decode("UTF-8")
setup( name = "pyprofibus",
version = VERSION_STRING,
description = "Python PROFIBUS module",
license = "GNU General Public License v2 or later",
author = "Michael Buesch",
author_email = "m@bues.ch",
url = "https://bues.ch/a/profibus",
scripts = [ "gsdparser",
"profisniff",
"pyprofibus-linuxcnc-hal", ],
packages = [ "pyprofibus", "pyprofibus.gsd" ],
keywords = [ "PROFIBUS", "PROFIBUS-DP", "SPS", "PLC",
"Step 7", "Siemens",
"GSD", "GSD parser", "General Station Description", ],
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Manufacturing",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
# "Programming Language :: Cython",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Education",
"Topic :: Home Automation",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator",
"Topic :: Software Development :: Embedded Systems",
"Topic :: System :: Hardware",
"Topic :: System :: Hardware :: Hardware Drivers",
"Topic :: System :: Networking",
],
long_description=readmeText,
long_description_content_type="text/markdown",
)
|