Skip to content

Commit

Permalink
hopefully fixed the setup script for auto builds
Browse files Browse the repository at this point in the history
  • Loading branch information
bahorn committed Jun 8, 2020
1 parent 78a2ea5 commit a3a82e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
long_description = fh.read()

# Either extract it from the release trigger, or use the default version.
version = os.environ['GITHUB_REF'][1:] or default_version
version = os.environ['GITHUB_REF'].split('/')[-1][1:] or default_version

setuptools.setup(
name="OpenRGB-PyClient",
Expand All @@ -26,4 +26,5 @@
"Operating System :: OS Independent",
],
python_requires='>=3.6',
setup_requires=['wheel']
)

0 comments on commit a3a82e9

Please sign in to comment.