Merge pull request #529 from timkpaine/tkp/packaging
Small packaging and CI improvements
This commit is contained in:
commit
bf4afafc7e
|
@ -0,0 +1,6 @@
|
|||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
|
@ -13,10 +13,18 @@ jobs:
|
|||
# Install Tools
|
||||
- name: Install Tools
|
||||
run: |
|
||||
sudo apt-get install wget build-essential python3
|
||||
pip3 install setuptools
|
||||
pip3 install requests
|
||||
pip3 install meson
|
||||
sudo apt-get install wget build-essential
|
||||
|
||||
- name: Set up Python 3.9
|
||||
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
|
||||
- name: Install LiteX
|
||||
|
|
8
setup.py
8
setup.py
|
@ -4,9 +4,16 @@ from setuptools import setup
|
|||
from setuptools import find_packages
|
||||
|
||||
|
||||
with open("README.md", "r") as fp:
|
||||
long_description = fp.read()
|
||||
|
||||
|
||||
setup(
|
||||
name="litex-boards",
|
||||
version="2023.08",
|
||||
description="LiteX supported boards",
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
author="Florent Kermarrec",
|
||||
author_email="florent@enjoy-digital.fr",
|
||||
url="http://enjoy-digital.fr",
|
||||
|
@ -14,6 +21,7 @@ setup(
|
|||
test_suite="test",
|
||||
license="BSD",
|
||||
python_requires="~=3.6",
|
||||
install_requires=["litex"],
|
||||
include_package_data=True,
|
||||
packages=find_packages(exclude=['test*']),
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue