-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bcf5eb0
commit f4d1168
Showing
6 changed files
with
50 additions
and
7 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# How to deploy new package version | ||
|
||
## 1. Tag new version | ||
* Update [`pyproject.toml`](./pyproject.toml) with new version | ||
* Merge work to main branch | ||
* Create [new release on GitHub](https://github.com/Max-Derner/colour_fx/releases/new) | ||
|
||
## 2. Create new distribution | ||
* Run `python3 -m build` | ||
**N.B.** Never run build unless you are sure you have changed the version in `pyproject.toml` | ||
|
||
## 3. Upload to [test PyPI](https://test.pypi.org/) | ||
* `python3 -m twine upload --repository testpypi dist/*` | ||
|
||
## 4. Test download | ||
* `python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps colour_fx` | ||
|
||
## 4. Upload to [PyPI](https://pypi.org) | ||
* `twine upload dist/*` |
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
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,3 +1,5 @@ | ||
pytest~=8.3 | ||
flake8~=7.1 | ||
pytest-cov~=6.0 | ||
pytest-cov~=6.0 | ||
build~=1.2 | ||
twine~=5.1 |
Binary file not shown.
Binary file not shown.
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,22 @@ | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "colour_fx" | ||
version = "1.0.1" | ||
authors = [ | ||
{ name="Max Derner", email="[email protected]" }, | ||
] | ||
description = "Colour handling through 4 bit and 8 bit ANSI escape sequences. Powerful effects like gradients for blocks of text such as figlet banners." | ||
readme = "README.md" | ||
requires-python = ">=3.9" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/Max-Derner/colour_fx" | ||
Issues = "https://github.com/Max-Derner/colour_fx/issues" |