Simplify MANIFEST.in, include files relevant for distribution, add long

description to setup.py, fix classifier tag, tweak CI to start
standardizing workflow
This commit is contained in:
Tim Paine 2023-03-18 21:52:15 -04:00
parent cd933da3ac
commit edbe8294b8
3 changed files with 38 additions and 35 deletions

View File

@ -20,13 +20,20 @@ jobs:
# Install Tools # Install Tools
- name: Install Tools - name: Install Tools
run: | run: |
sudo apt-get install wget build-essential python3 ninja-build sudo apt-get install wget build-essential ninja-build
sudo apt-get install libevent-dev libjson-c-dev flex bison sudo apt-get install libevent-dev libjson-c-dev flex bison
sudo apt-get install libfl-dev libfl2 zlib1g-dev sudo apt-get install libfl-dev libfl2 zlib1g-dev
pip3 install setuptools
pip3 install requests - name: Set up Python ${{ matrix.python-version }}
pip3 install pexpect uses: actions/setup-python@v4
pip3 install meson with:
python-version: "3.9"
cache: "pip"
cache-dependency-path: "setup.py"
- name: Install Python dependencies
run: |
python3 -m pip install setuptools requests pexpect meson
# Install (n)Migen / LiteX / Cores # Install (n)Migen / LiteX / Cores
- name: Install LiteX - name: Install LiteX

View File

@ -1,29 +1,9 @@
graft litex/build/sim graft litex
graft litex/soc/software include CHANGES.md
graft litex/soc/cores/cpu/blackparrot include CONTRIBUTORS
graft litex/soc/cores/cpu/cortex_m1 graft doc
graft litex/soc/cores/cpu/cortex_m3
graft litex/soc/cores/cpu/cv32e40p exclude litex_setup.py
graft litex/soc/cores/cpu/cv32e41p
graft litex/soc/cores/cpu/cva5 prune test
graft litex/soc/cores/cpu/cva6
graft litex/soc/cores/cpu/eos_s3
graft litex/soc/cores/cpu/femtorv
graft litex/soc/cores/cpu/firev
graft litex/soc/cores/cpu/gowin_emcu
graft litex/soc/cores/cpu/ibex
graft litex/soc/cores/cpu/lm32
graft litex/soc/cores/cpu/marocchino
graft litex/soc/cores/cpu/microwatt
graft litex/soc/cores/cpu/minerva
graft litex/soc/cores/cpu/mor1kx
graft litex/soc/cores/cpu/naxriscv
graft litex/soc/cores/cpu/neorv32
graft litex/soc/cores/cpu/openc906
graft litex/soc/cores/cpu/picorv32
graft litex/soc/cores/cpu/rocket
graft litex/soc/cores/cpu/serv
graft litex/soc/cores/cpu/vexriscv
graft litex/soc/cores/cpu/vexriscv_smp
graft litex/soc/cores/cpu/zynq7000
graft litex/soc/cores/cpu/zynqmp

View File

@ -4,9 +4,16 @@ from setuptools import setup
from setuptools import find_packages from setuptools import find_packages
with open("README.md", "r") as fp:
long_description = fp.read()
setup( setup(
name="litex", name="litex",
version="2022.12",
description="Python SoC/Core builder for building FPGA based systems.", description="Python SoC/Core builder for building FPGA based systems.",
long_description=long_description,
long_description_content_type="text/markdown",
author="Florent Kermarrec", author="Florent Kermarrec",
author_email="florent@enjoy-digital.fr", author_email="florent@enjoy-digital.fr",
url="http://enjoy-digital.fr", url="http://enjoy-digital.fr",
@ -15,10 +22,19 @@ setup(
license="BSD", license="BSD",
python_requires="~=3.6", python_requires="~=3.6",
install_requires=[ install_requires=[
"migen",
"packaging", "packaging",
"pyserial", "pyserial",
"requests", "requests",
], ],
extras_require={
"develop": [
"meson"
"pexpect"
"setuptools"
"requests"
]
},
packages=find_packages(exclude=("test*", "sim*", "doc*")), packages=find_packages(exclude=("test*", "sim*", "doc*")),
include_package_data=True, include_package_data=True,
package_data={ package_data={
@ -29,7 +45,7 @@ setup(
classifiers=[ classifiers=[
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)", "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
"Environment :: Console", "Environment :: Console",
"Development Status :: Alpha", "Development Status :: 3 - Alpha",
"Intended Audience :: Developers", "Intended Audience :: Developers",
"License :: OSI Approved :: BSD License", "License :: OSI Approved :: BSD License",
"Operating System :: OS Independent", "Operating System :: OS Independent",