Force passing by name for TAP.add_shiftreg().
[c4m-jtag.git] / setup.py
1 from setuptools import setup, find_packages
2
3
4 def scm_version():
5 def local_scheme(version):
6 if version.tag and not version.distance:
7 return version.format_with("")
8 else:
9 return version.format_choice("+{node}", "+{node}.dirty")
10 return {
11 "relative_to": __file__,
12 "version_scheme": "guess-next-dev",
13 "local_scheme": local_scheme
14 }
15
16
17 setup(
18 name="c4m_jtag",
19 use_scm_version=scm_version(),
20 author="Staf Verhaegen",
21 author_email="staf@fibraservi.eu",
22 description="",
23 license="multi",
24 python_requires="~=3.6",
25 setup_requires=["setuptools_scm"],
26 install_requires=["setuptools", "cocotb", "nmigen"],
27 include_package_data=True,
28 packages=find_packages(),
29 project_urls={
30 #"Documentation": "???",
31 "Source Code": "https://gitlab.com/Chips4Makers/c4m-jtag",
32 "Bug Tracker": "https://gitlab.com/Chips4Makers/c4m-jtag/issues",
33 },
34 )