change to use plain_data.fields
[nmigen-gf.git] / setup.py
1 from setuptools import setup, find_packages
2 import os
3
4 here = os.path.abspath(os.path.dirname(__file__))
5 README = open(os.path.join(here, "README.md")).read()
6 NEWS = open(os.path.join(here, "NEWS.txt")).read()
7
8 version = "0.0.1"
9
10 install_requires = [
11 # ok to install using pip3 as long as it is not with the rest of Libre-SOC.
12 # https://git.libre-soc.org/?p=nmigen.git
13 "nmigen",
14 # can be obtained with pip3, best done manually
15 # https://git.libre-soc.org/?p=nmutil.git
16 "libresoc-nmutil",
17 ]
18
19 test_requires = [
20 "nose",
21 ]
22
23 setup(
24 name="libresoc-nmigen-gf",
25 version=version,
26 description="Reference Python code and nMigen HDL for Carry-Less and Galois Field Operations",
27 long_description=README + "\n\n",
28 long_description_content_type="text/markdown",
29 classifiers=[
30 "Topic :: Software Development",
31 "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
32 "Programming Language :: Python :: 3",
33 "Operating System :: OS Independent",
34 ],
35 keywords="nmigen libre-soc carry-less clmul gf2 galois-field galois gfp",
36 author="Jacob Lifshay",
37 author_email="programmerjake@gmail.com",
38 url="https://git.libre-soc.org/?p=nmigen-gf.git",
39 license="LGPLv3+",
40 packages=find_packages("src"),
41 package_dir={"": "src"},
42 include_package_data=True,
43 zip_safe=False,
44 install_requires=install_requires,
45 tests_require=test_requires,
46 test_suite="nose.collector"
47 )