Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Coimbra1984 authored Jul 16, 2020
1 parent 6e43d81 commit ce2d4df
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
from setuptools import setup, find_packages
import os

if "GITHUB_REF" in os.environ:
version = os.environ["GITHUB_REF"]
else:
version = "0.0.1"

setup(name='nimbus-python',
version='0.0.1',
version=version,
description='python bindings for nimbus 3D camera',
url='https://github.com/pieye/nimbus-python',
author='Markus Proeller',
Expand All @@ -12,4 +18,4 @@
"websockets", "numpy", "requests"
],
packages=find_packages(),
zip_safe=False)
zip_safe=False)

0 comments on commit ce2d4df

Please sign in to comment.