Skip to content

Commit 3de62dd

Browse files
committed
update setup.py
1 parent 3570029 commit 3de62dd

File tree

2 files changed

+26
-13
lines changed

2 files changed

+26
-13
lines changed

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include README.md
2+
recursive-include underautomation/staubli/lib *.dll *.txt

setup.py

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import setuptools
22
import os
33

4-
with open('README.md', "r", encoding="utf-8") as fh:
4+
with open("README.md", "r", encoding="utf-8") as fh:
55
long_description = fh.read()
66

7-
version_file = os.path.realpath(os.path.join(os.path.dirname(__file__), "underautomation", 'staubli', 'lib', 'version.txt'))
7+
version_file = os.path.realpath(os.path.join(os.path.dirname(__file__), "underautomation", "staubli", "lib", "version.txt"))
88

99
with open(version_file, "r", encoding="utf-8") as fh:
10-
version = fh.read()
10+
version = fh.read().strip()
1111

1212
setuptools.setup(
1313
name="UnderAutomation.Staubli",
@@ -19,19 +19,30 @@
1919
long_description_content_type="text/markdown",
2020
url="https://underautomation.com/staubli",
2121
project_urls={
22-
'Documentation': 'https://underautomation.com/staubli/documentation/get-started-python',
23-
'Source': 'https://github.com/underautomation/Staubli.py',
22+
"Documentation": "https://underautomation.com/staubli/documentation/get-started-python",
23+
"Source": "https://github.com/underautomation/Staubli.py",
2424
},
25-
classifiers=[],
26-
package_dir={"": "."},
27-
packages=setuptools.find_packages(where="."),
25+
license="Commercial",
26+
classifiers=[
27+
"Programming Language :: Python :: 3",
28+
"Operating System :: Microsoft :: Windows",
29+
"Operating System :: POSIX :: Linux",
30+
"Operating System :: MacOS",
31+
"Intended Audience :: Developers",
32+
"Intended Audience :: Manufacturing",
33+
"Topic :: Scientific/Engineering",
34+
"Topic :: Software Development :: Libraries",
35+
],
36+
packages=setuptools.find_packages(include=["underautomation", "underautomation.*"]),
2837
python_requires=">=3.7",
2938
install_requires=[
30-
'pythonnet==3.0.5'
39+
"pythonnet==3.0.5",
3140
],
3241
include_package_data=True,
33-
package_data={"": [
34-
"staubli/lib/*.dll",
35-
"staubli/lib/*.txt"
36-
]}
42+
package_data={
43+
"underautomation": [
44+
"staubli/lib/*.dll",
45+
"staubli/lib/*.txt",
46+
],
47+
},
3748
)

0 commit comments

Comments
 (0)