File: setup.py

package info (click to toggle)
apycula 0.31%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,576 kB
  • sloc: python: 16,977; asm: 1,815; makefile: 510; sh: 72; tcl: 56; vhdl: 26
file content (41 lines) | stat: -rw-r--r-- 1,122 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import setuptools

with open("readme.md", "r") as fh:
    long_description = fh.read()

setuptools.setup(
    name="Apycula",
    author="Pepijn de Vos",
    author_email="pepijndevos@gmail.com",
    description="Open Source tools for Gowin FPGAs",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/YosysHQ/apicula",
    packages=setuptools.find_packages(),
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
    install_requires=[
        'msgspec',
        'numpy',
        'fastcrc',
    ],
    extras_require={
        'pure': ['msgpack', 'cattrs'],
    },
    python_requires='>=3.9',
    package_data={
        'apycula': ['*.msgpack.xz']
    },
    entry_points={
        'console_scripts': [
            'gowin_pack=apycula.gowin_pack:main',
            'gowin_unpack=apycula.gowin_unpack:main',
            'gowin_pll=apycula.gowin_pll:main',
        ],
    },
    use_scm_version=True,
    setup_requires=['setuptools_scm'],
)