This repository has been archived by the owner on May 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
64 lines (57 loc) · 2.29 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
import os
from setuptools import setup, find_packages
VERSION_FILE = os.path.join(os.path.abspath(os.path.dirname(__file__)),
'codiga', 'version.py')
DESCRIPTION = open('README.md').read()
VERSION = None
with open(VERSION_FILE, 'r') as f:
VERSION = f.read().split()[2][1:-1]
setup(
name='codiga',
version=VERSION,
packages=find_packages(),
url='https://github.com/codiga/clitool',
project_urls={
'Changelog': ('https://github.com/codiga/clitool/'
'blob/master/CHANGELOG.md'),
'Docs': 'https://github.com/codiga/clitool/',
},
license='BSD',
author='codiga',
description='CLI tools for codiga.io',
long_description=DESCRIPTION,
long_description_content_type="text/markdown",
entry_points={
'console_scripts': [
'codiga-analyze = codiga.analyze:main',
'codiga-github-action = codiga.github_action:main',
'codiga-check-quality = codiga.check_quality:main',
'codiga-check-ruleset = codiga.check_ruleset:main',
'codiga-rosie-analyze = codiga.rosie_analyze:main',
'codiga-git-hook = codiga.git_hook:main',
'codiga-snippets-import = codiga.snippets_imports:main',
'codiga-export-ruleset = codiga.export_ruleset:main',
'codiga-compare = codiga.compare:main',
'codiga-project = codiga.project:main'
],
},
install_requires=['docopt>=0.6.2', 'requests>=2.27.1', "unidiff>=0.7.4", "tenacity>=8.1.0", "pyyaml>=6.0"],
extras_require={
'yaml': ['PyYAML>=3.10'],
':python_version < "3"': ['urllib3[secure]'],
':python_version < "3.7"': ['dataclasses'],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: Software Development :: Testing',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
)