Skip to content

Commit

Permalink
switch to justfile, update build system/deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Haumesser committed Feb 2, 2024
1 parent a79f5aa commit 5c24d38
Show file tree
Hide file tree
Showing 7 changed files with 110 additions and 87 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
CHANGES
=======

* update
* add tomli for python<3.11
* update for newer versions of python and pyyaml
* add github workflow

v2.0.0
Expand Down
11 changes: 0 additions & 11 deletions Makefile

This file was deleted.

2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ sphinx-rtd-theme = "<2"
tomli = { version = "*", markers = "python_version < '3.11'" }
types-pyyaml = "<7"


[packages]
pyyaml = "<7"
build = "*"
157 changes: 87 additions & 70 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
build:
rm -f dist/*
pipenv requirements > requirements.txt
pipenv run python -m build
rm requirements.txt

pypi_test: build
pipenv run twine upload --repository-url https://test.pypi.org/legacy/ dist/*

pypi: build
pipenv run twine upload dist/*
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["pbr>=6.0.0", "setuptools>=64.0.0"]
build-backend = "pbr.build"
10 changes: 5 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[metadata]
name = cfitall
author = Chris Haumesser
author-email = chris.haumesser@gmail.com
author_email = chris.haumesser@gmail.com
summary = a configuration manager for python apps
description-file = README.rst
requires-python = >=3.8
home-page = https://github.com/wryfi/cfitall
description_file = README.rst
requires_python = >=3.8
home_page = https://github.com/wryfi/cfitall
classifier =
License :: OSI Approved :: MIT License
Natural Language :: English
Expand All @@ -16,10 +16,10 @@ classifier =
Programming Language :: Python :: 3.12

[options]
packages = find:
install_requires =
PyYAML <= 7

[files]
packages = find:
data_files =
tests = tests/*

0 comments on commit 5c24d38

Please sign in to comment.