forked from yugabyte/llvm-installer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (54 loc) · 2.18 KB
/
Copy pathsetup.py
File metadata and controls
59 lines (54 loc) · 2.18 KB
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
# Copyright (c) Yugabyte, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
# or implied. See the License for the specific language governing permissions and limitations
# under the License.
from setuptools import setup # type: ignore
from setuptools import find_packages
if __name__ == '__main__':
# This is based on the instructions from
# https://packaging.python.org/guides/making-a-pypi-friendly-readme/
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as readme_file:
long_description = readme_file.read()
setup(
name='llvm-installer',
version='1.4.15',
url='https://github.com/yugabyte/llvm-installer',
author='Mikhail Bautin',
author_email='mbautin@users.noreply.github.com',
description='Allows installing pre-built LLVM packages for various operating systems',
packages=find_packages(where='src'),
package_dir={"": "src"},
package_data={'llvm_installer': ['py.typed', 'release_tags.json']},
install_requires=[
'packaging',
'sys-detection',
'downloadutil',
],
long_description=long_description,
long_description_content_type='text/markdown',
extras_require={
# Following advice given in this answer: https://stackoverflow.com/a/28842733/220215
# Install with:
# . venv/bin/activate
# pip install --editable '.[dev]'
'dev': [
'codecheck',
'pycodestyle',
'mypy',
'PyGithub',
'twine',
]
},
entry_points={
'console_scripts': ['llvm-installer=llvm_installer.__main__:main'],
}
)