forked from ottowayi/pycomm3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (41 loc) · 1.51 KB
/
setup.py
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
from setuptools import setup
import os
__version__ = '0.0.0'
with open('pycomm3/_version.py') as f:
exec(f.read())
def read(file_name):
return open(os.path.join(os.path.dirname(__file__), file_name)).read()
setup(
name="pycomm3",
version=__version__,
author='Ian Ottoway',
author_email="[email protected]",
url="https://github.com/ottowayi/pycomm3",
description="A Python Ethernet/IP library for communicating with Allen-Bradley PLCs.",
long_description=read('README.rst'),
license="MIT",
packages=['pycomm3', 'pycomm3.packets'],
package_data={'pycomm3': ['py.typed']},
python_requires='>=3.6.1',
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Manufacturing',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator',
'Topic :: Scientific/Engineering :: Human Machine Interfaces',
],
)
# Build and Publish Commands:
#
# python setup.py sdist bdist_wheel
# twine upload --skip-existing dist/*