-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
38 lines (36 loc) · 1.11 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
import setuptools
with open("README.rst", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="riscv-model",
use_scm_version={
"relative_to": __file__,
"write_to": "riscvmodel/version.py",
},
author="Stefan Wallentowitz",
author_email="stefan@wallentowitz.de",
description="RISC-V Model",
long_description=long_description,
url="https://github.com/wallento/riscv-python-model",
packages=setuptools.find_packages(),
entry_points={
'console_scripts': [
'riscv-describe-isa-variant = riscvmodel.variant:describe',
'riscv-random-asm = riscvmodel.random:gen_asm',
'riscv-random-asm-check = riscvmodel.random:check_asm',
'riscv-machinsn-decode = riscvmodel.code:machinsn_decode'
],
},
setup_requires=[
'setuptools_scm',
'wheel'
],
extras_require={
'docs': ['sphinx', 'python-docs-theme', 'sphinx-argparse']
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)