1 from setuptools
import setup
, find_packages
5 here
= os
.path
.abspath(os
.path
.dirname(__file__
))
6 README
= open(os
.path
.join(here
, 'README.md')).read()
7 NEWS
= open(os
.path
.join(here
, 'NEWS.txt')).read()
11 # using pip3 for ongoing development is a royal pain. seriously not
12 # recommended. therefore a number of these dependencies have been
13 # commented out. *they are still required* - they will need installing
17 # NOT ok to install using pip3 https://git.libre-soc.org/?p=nmigen.git
19 # can be obtained with pip3, best done manually
20 # https://git.libre-soc.org/?p=nmutil.git
21 'libresoc-nmutil>=0.0.0,<=1.0',
22 # these should be fine
23 'pygdbmi==0.9.0.3', # gdb machine interface, requires older version (sigh)
24 'ply', # python lex yacc. very cool
25 'astor', # python AST manipulation
26 'cffi' # LuaJIT-style C FFI for Python
31 # best to install pia from Libre-SOC:
32 # https://git.libre-soc.org/?p=power-instruction-analyzer.git
33 'power-instruction-analyzer'
37 name
='libresoc-openpower-isa',
39 description
="OpenPOWER ISA resources including a python-based simulator",
40 long_description
=README
+ '\n\n',
41 long_description_content_type
='text/markdown',
43 "Topic :: Software Development",
44 "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
45 "Programming Language :: Python :: 3",
46 "Operating System :: OS Independent",
48 keywords
='nmigen libre-soc openpower simulator',
49 author
='Luke Kenneth Casson Leighton',
50 author_email
='lkcl@libre-soc.org',
51 url
='http://git.libre-soc.org/?p=openpower-isa.git',
53 packages
=find_packages('src'),
54 package_dir
={'': 'src'},
55 include_package_data
=True,
57 install_requires
=install_requires
,
58 tests_require
=test_requires
,
59 test_suite
='nose.collector',
62 'pywriter=openpower.decoder.pseudo.pywriter:pywriter',
63 'pyfnwriter=openpower.decoder.pseudo.pyfnwriter:pyfnwriter',
64 'sv_analysis=openpower.sv.sv_analysis:main',
65 'pypowersim=openpower.decoder.isa.pypowersim:run_simulation',
66 'pysvp64asm=openpower.sv.trans.svp64:asm_process'