-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (40 loc) · 1.16 KB
/
setup.py
File metadata and controls
46 lines (40 loc) · 1.16 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
import os
import sys
from setuptools import setup, find_namespace_packages
version="0.0.1"
proj_dir = os.path.dirname(os.path.abspath(__file__))
try:
sys.path.insert(0, os.path.join(proj_dir, "src/zuspec"))
from __build_num__ import BUILD_NUM
version += ".%s" % str(BUILD_NUM)
except ImportError as e:
print("zuspec-cli: No build-num (%s)" % str(e))
setup(
name = "zuspec-cli",
version=version,
packages=find_namespace_packages(where='src'),
package_dir = {'' : 'src'},
author = "Matthew Ballance",
author_email = "matt.ballance@gmail.com",
description = "Co-specification of hardware, software, design, and test behavior",
long_description="""
Co-specification of hardware, software, design, and test behavior
""",
license = "Apache 2.0",
keywords = ["PSS", "Functional Verification", "RTL", "Verilog", "SystemVerilog"],
url = "https://github.com/zuspec/zuspec-cli",
entry_points={
'console_scripts': [
'zuspec = zuspec.cli.__main__:main'
],
'zuspec.ext': [
'zuspec_cli = zuspec.cli._self_plugin:CLISelfPlugin',
],
},
setup_requires=[
'setuptools_scm',
],
install_requires=[
'pyyaml',
],
)