-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
49 lines (38 loc) · 1.49 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright (c) 2015 Scott Christensen
#
# This file is part of condorpy
#
# condorpy is free software: you can redistribute it and/or modify it under
# the terms of the BSD 2-Clause License. A copy of the BSD 2-Clause License
# should have been distributed with this file.
from setuptools import setup, find_packages
import os, re
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
VERSION = re.search(':Version: ([\.?\d]*)', README).group(1)
setup(
name="condorpy",
version=VERSION,
packages=find_packages(),
#scripts=['say_hello.py'],
# Project uses reStructuredText, so ensure that the docutils get
# installed or upgraded on the target machine
install_requires=['scp', 'paramiko'],
# package_data = {
# # If any package contains *.txt or *.rst files, include them:
# '': ['*.txt', '*.rst'],
# # And include any *.msg files found in the 'hello' package, too:
# 'hello': ['*.msg'],
# },
# metadata for upload to PyPI
author="Scott Christensen",
author_email="[email protected]",
description="A Python wrapper for HTCondor's cli",
long_description=README,
license="BSD 2-Clause License",
keywords="htcondor distributed-computing job-scheduling",
url="http://tethysplatform.org/condorpy/",
# could also include download_url, classifiers, etc.
)