Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,12 @@ __pycache__/
GNUmakefile
user.props

# Build artifacts
dist/

# Miscellaneous
######################
.vscode/
.venv/
*.egg-info/
.coverage
.coverage
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ recursive-include docs/source/images *

# include misc files
include pynq/devices/default.xclbin

# include all deeply nested python and data files in the core module
recursive-include pynq *
59 changes: 59 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# build system requirements
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

# static project meta data
[project]
name = "pynq"
dynamic = ["version"]
description = "(PY)thon productivity for zy(NQ)"
readme = "README.md"
authors = [
{name = "Xilinx PYNQ Development Team", email = "pynq_support@xilinx.com"}
]
license = {text = "BSD 3-Clause"}
requires-python = ">=3.5.2"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX :: Linux",
]
dependencies = [
"pynqmetadata",
"pynqutils",
"setuptools>=24.2.0",
"cffi",
"numpy<2.0",
"nest_asyncio",
"grpcio==1.64.0",
"grpcio-tools==1.64.0",
]

# project urls
[project.urls]
Homepage = "https://github.com/Xilinx/PYNQ"
Download = "https://github.com/Xilinx/PYNQ"

# cli commands
[project.scripts]
pynq = "pynq._cli.cmd:main"
pynq-get-notebooks = "pynq._cli.get_notebooks:main"

# custom build commands
[project.entry-points."distutils.commands"]
download_overlays = "pynqutils.setup_utils:du_download_overlays"

# setuptools specific configurations
[tool.setuptools]
zip-safe = false
include-package-data = true

# map the dynamic version to the init file
[tool.setuptools.dynamic]
version = {attr = "pynq.__version__"}

# define package boundaries
[tool.setuptools.packages.find]
where = ["."]
include = ["pynq*"]
Loading