Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathsetup.py
More file actions
Latest commit
35 lines (30 loc) · 1.1 KB
/
Copy pathsetup.py
File metadata and controls
35 lines (30 loc) · 1.1 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
fromsetuptoolsimportsetup, find_packages
importpycoram.utils.version
importre
importos
m=re.search(r'(\d+\.\d+\.\d+(-.+)?)', pycoram.utils.version.VERSION)
version=m.group(1) ifmisnotNoneelse'0.0.0'
defread(filename):
returnopen(os.path.join(os.path.dirname(__file__), filename)).read()
importsys
script_name='pycoram'
setup(name='pycoram',
version=version,
description='Python-based Portable IP-core Synthesis Framework for FPGA-based Computing',
long_description=read('README.rst'),
keywords='FPGA, Verilog HDL, High-Level Synthesis',
author='Shinya Takamaeda-Yamazaki',
author_email='shinya.takamaeda_at_gmail_com',
license="Apache License 2.0",
url='https://github.com/PyHDI/PyCoRAM',
packages=find_packages(),
package_data={ 'pycoram.template' : ['*.*'], },
install_requires=[ 'pyverilog>=1.0.4', 'Jinja2>=2.8' ],
extras_require={
'test' : [ 'pytest>=2.8.2', 'pytest-pythonpath>=0.7' ],
},
entry_points="""
[console_scripts]
%s = pycoram.run_pycoram:main
"""%script_name,
)