-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix & Chore: Fix symlink; Update project files
- Fix temp dir symlink issue - Migrate from 'setup.py' to 'pyproject.toml' - Remove upper version limit on 'rope' - Upgrade setuptools - Update Makefile commands for dev convenience
- Loading branch information
Showing
4 changed files
with
70 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
all: dev | ||
all: clean build | ||
|
||
build: clean | ||
python setup.py bdist_wheel | ||
|
||
dev: clean | ||
python setup.py develop | ||
build: | ||
python -m build -w | ||
|
||
clean: | ||
pip uninstall merak -y | ||
rm -rf build dist merak.egg-info | ||
rm -rf build/ dist/ merak.egg-info/ | ||
|
||
install: | ||
pip install setuptools build | ||
pip install . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
[build-system] | ||
requires = ["setuptools >= 72.1.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "merak" | ||
version = "0.3.2" | ||
authors = [ | ||
{name = "(David) Siu-Kei Muk", email = "david.muk@proton.me"}, | ||
] | ||
license = {file = "LICENSE"} | ||
description = "Python binary package builder (via Cython)" | ||
readme = {file = "README.md", content-type = "text/markdown"} | ||
requires-python = ">= 3.7" | ||
keywords = ["merak", "cython", "binary", "package", "build"] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Cython", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Topic :: Software Development", | ||
"Topic :: Software Development :: Build Tools", | ||
"Topic :: Software Development :: Compilers" | ||
] | ||
|
||
dynamic = ["dependencies"] | ||
|
||
[project.scripts] | ||
merak = "merak.main:main" | ||
|
||
[project.urls] | ||
Repository = "https://github.com/dave-msk/merak" | ||
|
||
[tool.setuptools] | ||
include-package-data = true | ||
|
||
[tool.setuptools.package-data] | ||
merak = ["data/*"] | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["merak", "merak.*"] | ||
|
||
[tool.setuptools.dynamic] | ||
dependencies = {file = ["requirements.txt"]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
cement (>=3.0.4, <4.0.0) | ||
colorlog (>=4.6.2, <5.0.0) | ||
cython (>=0.29.21) | ||
rope (>=0.19.0, <1.0.0) | ||
setuptools (>=51.0.0) | ||
absolufy-imports (>=0.3.1, <0.4.0) | ||
cement (>=3.0.4, <4.0.0) | ||
colorlog (>=4.6.2) | ||
cython (>=3.0.0) | ||
rope (>=1.0.0) | ||
setuptools (>=72.1.0) |