add cached_property dependency
[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 version = '0.0.1'
10
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
14 # manually.
15
16 install_requires = [
17 # 'sfpy', # needs manual patching
18 'libresoc-ieee754fpu', # uploaded (successfully, whew) to pip
19 'libresoc-openpower-isa', # uploaded (successfully, whew) to pip
20 # 'nmigen-soc', # install manually from git.libre-soc.org
21 "cached-property",
22 ]
23
24 test_requires = [
25 'nose',
26 # install pia from https://salsa.debian.org/Kazan-team/power-instruction-analyzer
27 'power-instruction-analyzer'
28 ]
29
30 setup(
31 name='libresoc',
32 version=version,
33 description="A nmigen-based OpenPOWER multi-issue Hybrid 3D CPU-VPU-GPU",
34 long_description=README + '\n\n' + NEWS,
35 long_description_content_type='text/markdown',
36 classifiers=[
37 "Topic :: Software Development",
38 "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
39 "Programming Language :: Python :: 3",
40 "Operating System :: OS Independent",
41 ],
42 keywords='nmigen ieee754 libre-soc soc',
43 author='Luke Kenneth Casson Leighton',
44 author_email='lkcl@libre-soc.org',
45 url='http://git.libre-soc.org/?p=soc',
46 license='LGPLv3+',
47 packages=find_packages('src'),
48 package_dir={'': 'src'},
49 include_package_data=True,
50 zip_safe=False,
51 install_requires=install_requires,
52 tests_require=test_requires,
53 test_suite='nose.collector',
54 )