Skip to content

Commit

Permalink
consolidated build info
Browse files Browse the repository at this point in the history
  • Loading branch information
robweber committed Nov 9, 2023
1 parent 34b2fd5 commit 930c36c
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 45 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- changed valid Python versions from 3.7 < 3.11. Issues currently on 3.11 installs running on Raspberry Pi OS 12 (Bookworm)
- pinned Waveshare repo to [4822c07](https://github.com/waveshareteam/e-Paper/commit/4822c075f5df714f88b02e10c336b4eeff7e603e). This is known to work with Python 3.7 < 3.10.
- pinned IT8951 repo to [6721516](https://github.com/GregDMeyer/IT8951/commit/67215164a7fc471bc6904f72ad55e51030905a97). This is known to work with Python 3.7 < 3.10.
- all build information moved from `setup.cfg` to `pyproject.toml`

### Fixed

Expand Down
48 changes: 48 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,52 @@ requires = [
"setuptools>=42",
"wheel"
]

build-backend = "setuptools.build_meta"

[project]
name = "omni_epd"
version = "0.3.5"
requires-python = ">=3.7, <3.11"
authors = [
{name = "Rob Weber", email = "[email protected]"}
]
description = "An EPD class abstraction to simplify communications across multiple display types."
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX :: Linux"
]

dependencies = [
"Pillow>=9.1.0",
"waveshare-epd @ git+https://github.com/waveshare/e-Paper.git@4822c075f5df714f88b02e10c336b4eeff7e603e#subdirectory=RaspberryPi_JetsonNano/python&egg=waveshare-epd",
"inky[rpi]>=1.3.1",
"IT8951[rpi] @ git+https://github.com/GregDMeyer/IT8951.git"
]

[project.optional-dependencies]
dev = [
"flake8",
"Flake8-pyproject",
"pytest"
]

[project.scripts]
omni-epd-test = "omni_epd.test_utility:main"

[project.urls]
"Homepage" = "https://github.com/robweber/omni-epd"
"Bug Reports" = "https://github.com/robweber/omni-epd/issues"

[tool.setuptools.packages.find]
where = ["src"]

[tool.setuptools.package-data]
omni_epd = ["didder"]

[tool.flake8]
max-line-length = 150
45 changes: 0 additions & 45 deletions setup.cfg

This file was deleted.

0 comments on commit 930c36c

Please sign in to comment.