summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 06dad3d..625bc00 100644
--- a/setup.py
+++ b/setup.py
@@ -5,14 +5,17 @@ buildnum = os.environ.get('TRAVIS_BUILD_NUMBER')
if buildnum is None:
version = '0.dev0'
else:
- version = buildnum[:7]
+ version = buildnum
gitrev = os.environ.get('TRAVIS_COMMIT')
-if gitrev is not None:
- version = '{}-{}'.format(version, gitrev)
+if gitrev is None:
+ description = ''
+else:
+ description = gitrev
setup(
name="unbiased",
version=version,
+ description=description,
packages=['unbiased', 'unbiased.sources'],
package_data={
'unbiased': [