-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
executable file
·56 lines (50 loc) · 1.95 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/env python3
# Copyright (C) 2015 Sebastian Pipping <[email protected]>
# Licensed under GPL v2 or later
from setuptools import setup
from resolve_march_native.version import VERSION_STR
def _read(filename):
with open(filename) as f:
return f.read()
if __name__ == '__main__':
setup(
name='resolve-march-native',
description='Tool to determine what GCC flags -march=native would resolve into',
long_description=_read('README.md'),
long_description_content_type='text/markdown',
license='GPLv2+',
version=VERSION_STR,
author='Sebastian Pipping',
author_email='[email protected]',
url='https://github.com/hartwork/resolve-march-native',
python_requires='>=3.9',
setup_requires=[
'setuptools>=38.6.0', # for long_description_content_type
],
packages=[
'resolve_march_native',
],
entry_points={
'console_scripts': [
'resolve-march-native = resolve_march_native.__main__:main',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Software Development :: Compilers',
'Topic :: Utilities',
],
)