forked from Ericsson/codechecker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (35 loc) · 1.38 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
from setuptools import setup, find_packages
# io.open is needed for projects that support Python 2.7
# Python 3 only projects can skip this import
from io import open
# Get the long description from the README file
with open('README.md', encoding='utf-8', errors="ignore") as f:
long_description = f.read()
api_version = '6.47.0'
setup(
name='codechecker_api_shared',
version=api_version,
description='Shared API stub types package for the CodeChecker API.',
long_description_content_type='text/markdown',
long_description=long_description,
url='https://github.com/Ericsson/codechecker',
classifiers=[ # Optional
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
# These classifiers are *not* checked by 'pip install'. See instead
# 'python_requires' below.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
keywords='codechecker thrift api library',
packages=find_packages(where='.'), # Required
python_requires='>=2.7,',
project_urls={ # Optional
'Bug Reports': 'https://github.com/Ericsson/codechecker/issues',
'Source': 'https://github.com/Ericsson/codechecker/tree/master/web/api',
},
)