setup.py 1.89 KB
Newer Older
Michael Thies's avatar
Michael Thies committed
1
#!/usr/bin/env python3
2
# Copyright 2020 PyI40AAS Contributors
3
4
5
6
7
8
9
10
11
12
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
# specific language governing permissions and limitations under the License.

13
14
import setuptools

15
with open("README.md", "r", encoding='utf-8') as fh:
16
17
18
    long_description = fh.read()

setuptools.setup(
19
    name="pyi40aas",
Michael Thies's avatar
Michael Thies committed
20
    version="0.1.0",
21
22
23
24
25
    author="Chair of Process Control Engineering, RWTH Aachen",
    author_email="m.thies@plt.rwth-aachen.de",
    description="An implementation of the Asset Administration Shell for Industry 4.0 systems",
    long_description=long_description,
    long_description_content_type="text/markdown",
26
    url="https://git.rwth-aachen.de/acplt/pyi40aas",
27
    packages=setuptools.find_packages(exclude=["test", "test.*"]),
28
    zip_safe=False,
29
30
31
32
    package_data={
        "aas": ["py.typed"],
        "aas.adapter.json": ["aasJSONSchema.json"],
        "aas.adapter.xml": ["AAS.xsd", "AAS_ABAC.xsd", "IEC61360.xsd"],
33
        "aas.examples.data": ["TestFile.pdf"],
34
    },
35
36
37
38
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: Apache Software License",
        "Operating System :: OS Independent",
39
        "Development Status :: 3 - Alpha",
40
    ],
41
42
43
44
45
    entry_points={
        'console_scripts': [
            "aas_compliance_check = aas.compliance_tool.cli:main"
        ]
    },
46
    python_requires='>=3.6',
Michael Thies's avatar
Michael Thies committed
47
    install_requires=[
48
49
        'python-dateutil>=2.8,<3',
        'lxml>=4.2,<5',
50
        'pyecma376-2>=0.2.4',
51
    ]
52
)