Add version number, include readme as long description, add explicit litex dependency, use github action for python install, add dependabot action upgrader, update checkout action
This commit is contained in:
parent
a0b7811c54
commit
f047844f86
|
@ -0,0 +1,6 @@
|
||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
|
@ -13,10 +13,18 @@ jobs:
|
||||||
# Install Tools
|
# Install Tools
|
||||||
- name: Install Tools
|
- name: Install Tools
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install wget build-essential python3
|
sudo apt-get install wget build-essential
|
||||||
pip3 install setuptools
|
|
||||||
pip3 install requests
|
- name: Set up Python 3.9
|
||||||
pip3 install meson
|
uses: actions/setup-python@v4
|
||||||
|
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
|
||||||
|
|
8
setup.py
8
setup.py
|
@ -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-boards",
|
name="litex-boards",
|
||||||
|
version="2023.08",
|
||||||
description="LiteX supported boards",
|
description="LiteX supported boards",
|
||||||
|
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",
|
||||||
|
@ -14,6 +21,7 @@ setup(
|
||||||
test_suite="test",
|
test_suite="test",
|
||||||
license="BSD",
|
license="BSD",
|
||||||
python_requires="~=3.6",
|
python_requires="~=3.6",
|
||||||
|
install_requires=["litex"],
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
packages=find_packages(exclude=['test*']),
|
packages=find_packages(exclude=['test*']),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue