-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
73 lines (66 loc) · 2.18 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/usr/bin/env python3
"""Setup Tools Script"""
import codecs
import os
from setuptools import find_packages, setup
PACKAGENAME = 'sqre-codekit'
DESCRIPTION = 'LSST Data Management SQuaRE code management tools'
AUTHOR = 'Frossie Economou'
AUTHOR_EMAIL = '[email protected]'
URL = 'https://github.com/lsst-sqre/sqre-codekit'
LICENSE = 'MIT'
def read(filename):
"""Convenience function for includes"""
full_filename = os.path.join(os.path.abspath(os.path.dirname(__file__)), filename)
return codecs.open(full_filename, 'r', 'utf-8').read()
long_description = read('README.md') # pylint:disable=invalid-name
setup(
name=PACKAGENAME,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
url=URL,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
license=LICENSE,
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: MIT License',
],
keywords='lsst',
use_scm_version=True,
packages=find_packages(exclude=['docs', 'tests*']),
install_requires=[
'MapGitConfig==1.1',
'progressbar2==3.37.1',
'public==1.0',
'pygithub==1.59',
'pyyaml>=5.1',
'requests>=2.8.1,<3.0.0',
],
setup_requires=[
'pytest-runner>=4.4,<5',
'setuptools_scm',
],
tests_require=[
'flake8',
'pytest<5',
# Removed due to incompatibility
# 'pytest-flake8',
'responses>=0.9.0,<1',
],
# package_data={},
entry_points={
'console_scripts': [
'github-auth = codekit.cli.github_auth:main',
'github-decimate-org = codekit.cli.github_decimate_org:main',
'github-fork-org = codekit.cli.github_fork_org:main',
'github-get-ratelimit= codekit.cli.github_get_ratelimit:main',
'github-list-repos = codekit.cli.github_list_repos:main',
'github-mv-repos-to-team = codekit.cli.github_mv_repos_to_team:main', # NOQA
'github-tag-release = codekit.cli.github_tag_release:main',
'github-tag-teams = codekit.cli.github_tag_teams:main',
]
},
)