-
Notifications
You must be signed in to change notification settings - Fork 42
/
setup.py
64 lines (57 loc) · 1.89 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
import codecs
from setuptools import setup, find_packages
# Base directory of package
here = os.path.abspath(os.path.dirname(__file__))
def read(*parts):
with codecs.open(os.path.join(here, *parts), 'r') as fp:
return fp.read()
def read_requires():
with open(os.path.join(here, "riscof/requirements.txt"),"r") as reqfile:
return reqfile.read().splitlines()
#Long Description
with open("README.rst", "r") as fh:
readme = fh.read()
setup_requirements = [ ]
test_requirements = [ ]
setup(name="riscof",
version='1.25.3',
description="RISC-V Architectural Test Framework",
long_description=readme + '\n\n',
classifiers=[
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: BSD License",
"Development Status :: 4 - Beta"
],
url='https://github.com/riscv/riscof',
author='InCore Semiconductors Pvt. Ltd.',
author_email='[email protected]',
license='BSD-3-Clause',
packages=find_packages(),
package_dir={'riscof': 'riscof/'},
package_data={
'riscof': [
'requirements.txt',
'Templates/coverage.html',
'framework/database.yaml',
'Templates/report.html',
'Templates/style.css',
'Templates/setup/*',
'Templates/setup/model/env/*',
'Templates/setup/model/*',
'Templates/setup/sail_cSim/*',
'Templates/setup/sail_cSim/env/*',
'Templates/setup/reference/*',
'Templates/setup/reference/env/*'
]
},
install_requires=read_requires(),
python_requires=">=3.6.0",
entry_points={
"console_scripts": ["riscof=riscof.cli:cli"],
},
include_package_data=True,
keywords='riscof',
test_suite='',
tests_require=test_requirements,
zip_safe=False,)