11import setuptools
22import 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
99with open (version_file , "r" , encoding = "utf-8" ) as fh :
10- version = fh .read ()
10+ version = fh .read (). strip ()
1111
1212setuptools .setup (
1313 name = "UnderAutomation.Staubli" ,
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