move branch test cases to openpower.test
[soc.git] / setup.py
1 from setuptools import setup, find_packages
2 import sys
3 import os
4
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()
8
9
10 version = '0.0.1'
11
12 # using pip3 for ongoing development is a royal pain. seriously not
13 # recommended. therefore a number of these dependencies have been
14 # commented out. *they are still required* - they will need installing
15 # manually.
16
17 install_requires = [
18 # 'sfpy', # needs manual patching
19 'ieee754fpu', # uploaded (successfully, whew) to pip
20 'pygdbmi', # safe to include
21 # 'nmigen-soc', # install manually from git.libre-soc.org
22 # 'ply', # needs to be installed manually
23 'astor' # safe to include
24 ]
25
26 test_requires = [
27 'nose',
28 # install pia from https://salsa.debian.org/Kazan-team/power-instruction-analyzer
29 'power-instruction-analyzer'
30 ]
31
32 setup(
33 name='libresoc',
34 version=version,
35 description="A nmigen-based OpenPOWER multi-issue Hybrid CPU / VPU / GPU",
36 long_description=README + '\n\n' + NEWS,
37 classifiers=[
38 "Topic :: Software Development",
39 "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
40 "Programming Language :: Python :: 3",
41 "Operating System :: OS Independent",
42 ],
43 keywords='nmigen ieee754 libre-soc soc',
44 author='Luke Kenneth Casson Leighton',
45 author_email='lkcl@libre-soc.org',
46 url='http://git.libre-soc.org/?p=soc',
47 license='LGPLv3+',
48 packages=find_packages('src'),
49 package_dir={'': 'src'},
50 include_package_data=True,
51 zip_safe=False,
52 install_requires=install_requires,
53 tests_require=test_requires,
54 test_suite='nose.collector',
55 )