forked from MatterMiners/condor-git-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
56 lines (53 loc) · 2.05 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
50
51
52
53
54
55
56
#!/usr/bin/python3
import os
from setuptools import setup, find_packages
repo_base_dir = os.path.abspath(os.path.dirname(__file__))
# pull in the packages metadata
package_about = {
'__title__': 'condor_git_config',
'__version__': '0.0.1',
'__summary__': 'dynamically configure an HTCondor node from a git repository',
'__author__': 'Max Fischer',
'__email__': '[email protected]',
'__url__': 'https://github.com/maxfischer2781/condor-git-config',
}
with open(os.path.join(repo_base_dir, 'README.rst'), 'r') as README:
long_description = README.read()
if __name__ == '__main__':
setup(
name=package_about['__title__'],
version=package_about['__version__'],
description=package_about['__summary__'],
long_description=long_description.strip(),
author=package_about['__author__'],
author_email=package_about['__email__'],
url=package_about['__url__'],
py_modules=['condor_git_config'],
# packages=find_packages(),
entry_points={
'console_scripts': [
'condor-git-config = condor_git_config:main',
],
},
# dependencies
install_requires=['filelock'],
# metadata for package search
license='MIT',
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Topic :: System :: Monitoring',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='htcondor condor configuration',
# unit tests
# test_suite='test_condor_git_config',
# use unittest backport to have subTest etc.
# tests_require=['unittest2'] if sys.version_info < (3, 4) else [],
)