aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 185e434..01e5c4f 100644
--- a/setup.py
+++ b/setup.py
@@ -3,6 +3,7 @@ from os.path import splitext, basename, relpath, join
from shutil import copy2
from setuptools import setup, find_packages
+VERSION = "0.1.2"
CLI = relpath('htc_utils/CLI')
scripts_original = [ join(CLI, 'split.py'),
join(CLI, 'wrap.py'),
@@ -13,15 +14,19 @@ scripts_renamed = [ 'condor_' + basename(x) for x in scripts_renamed ]
for script, script_renamed in zip(scripts_original, scripts_renamed):
copy2(script, script_renamed)
+with open(join('htc_utils', 'version.py'), 'w+') as fp:
+ fp.write("__version__ = '{}'\n".format(VERSION))
+
setup(
name="htc_utils",
- version="0.1.1",
+ version=VERSION,
packages=find_packages(),
scripts=scripts_renamed,
# metadata for upload to PyPI
author="Joseph Hunkeler",
author_email="jhunkeler@gmail.com",
+ url = "https://github.com/jhunkeler/htc_utils",
description="Home-rolled Condor utilities",
license="GPL",
keywords="condor htcondor util",