Skip to content

Commit

Permalink
update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Rufus31415 committed May 24, 2024
1 parent 80d8420 commit 0ba47c1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import setuptools
import os

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

with open('underautomation/universal_robots/lib/version.txt', "r", encoding="utf-8") as fh:
version_file = os.path.realpath(os.path.join(os.path.dirname(__file__), "underautomation", 'universal_robots', 'lib', 'version.txt'))

with open(version_file, "r", encoding="utf-8") as fh:
version = fh.read()

setuptools.setup(
Expand All @@ -28,7 +31,8 @@
],
include_package_data=True,
package_data={"": [
"universal_robots/lib/*.dll"
"universal_robots/lib/*.dll",
"universal_robots/lib/*.txt"
]}
)

Expand Down

0 comments on commit 0ba47c1

Please sign in to comment.