1 from setuptools
import setup
, find_packages
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()
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
14 # can be obtained with pip3, best done manually
15 # https://git.libre-soc.org/?p=nmutil.git
24 name
="libresoc-nmigen-gf",
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",
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",
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",
40 packages
=find_packages("src"),
41 package_dir
={"": "src"},
42 include_package_data
=True,
44 install_requires
=install_requires
,
45 tests_require
=test_requires
,
46 test_suite
="nose.collector"