diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2021-12-30 23:58:22 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2021-12-30 23:58:22 -0500 |
commit | aea128e8529f2636c80975795b721bcf3f6bc7a5 (patch) | |
tree | c5785e3e5fac8f909dc4a8a5c7c3a5b81631f0da /setup.py | |
parent | c4514f27759e05bcbcd21cbd52859e421a3938f2 (diff) | |
download | htc_utils-aea128e8529f2636c80975795b721bcf3f6bc7a5.tar.gz |
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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", |