Skip to content

Commit

Permalink
Fix packaging: Move requiements form Pipfile into pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Diemer committed Jul 9, 2024
1 parent 024e683 commit 3b8d0e9
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 79 deletions.
34 changes: 2 additions & 32 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -1,35 +1,5 @@
[packages]
django = '>=4.2'
bx_py_utils = '>=92' # https://github.com/boxine/bx_py_utils
python-stdnum = '*' # https://arthurdejong.org/python-stdnum/

bx_django_utils = {path = ".", editable = true}

[dev-packages]
boto3 = '>=1.25.0' # needed for e.g.: bx_django_utils/aws/ stuff!
requests-mock = '*'
tox = '>=4.4.4' # https://github.com/tox-dev/tox
coverage = '*' # https://github.com/nedbat/coveragepy
flake8 = '*' # https://github.com/pycqa/flake8
flake8-bugbear = "*" # https://github.com/PyCQA/flake8-bugbear
manageprojects = '*' # https://github.com/jedie/manageprojects
twine = '*' # https://github.com/pypa/twine/
django-debug-toolbar = '*'
beautifulsoup4 = '*'
lxml = '*'
playwright = '*' # https://playwright.dev/python/
pdoc = '*' # https://pdoc.dev/
model-bakery = '*' # https://github.com/model-bakers/model_bakery
tblib = '*' # https://github.com/ionelmc/python-tblib
packaging = '*' # https://pypi.org/project/packaging/
build = "*" # https://github.com/pypa/build
EditorConfig = '*' # https://pypi.org/project/EditorConfig/
django-polymorphic = '*'

# https://github.com/akaihola/darker
# https://github.com/ikamensh/flynt
# https://github.com/pycqa/isort
# https://github.com/pygments/pygments
darker = { version = "*", extras = ["flynt", "isort", "color"] }

typeguard = "*" # https://github.com/agronholm/typeguard/

bx_django_utils = {path = ".", editable = true, extras = ["dev"]}
62 changes: 16 additions & 46 deletions Pipfile.lock

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

2 changes: 1 addition & 1 deletion bx_django_utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '78'
__version__ = '79'
38 changes: 38 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,44 @@ classifiers = [
license = {text = "MIT"}
readme="README.md"


dependencies = [
'django>=4.2',
'bx_py_utils>=92', # https://github.com/boxine/bx_py_utils
'python-stdnum', # https://arthurdejong.org/python-stdnum/
]

[project.optional-dependencies]
dev = [
'boto3>=1.25.0', # needed for e.g.: bx_django_utils/aws/ stuff!
'requests-mock',
'tox>=4.4.4', # https://github.com/tox-dev/tox
'coverage', # https://github.com/nedbat/coveragepy
'flake8', # https://github.com/pycqa/flake8
'flake8-bugbear', # https://github.com/PyCQA/flake8-bugbear
'manageprojects', # https://github.com/jedie/manageprojects
'twine', # https://github.com/pypa/twine/
'django-debug-toolbar',
'beautifulsoup4',
'lxml',
'playwright', # https://playwright.dev/python/
'pdoc', # https://pdoc.dev/
'model-bakery', # https://github.com/model-bakers/model_bakery
'tblib', # https://github.com/ionelmc/python-tblib
'packaging', # https://pypi.org/project/packaging/
'build', # https://github.com/pypa/build
'EditorConfig', # https://pypi.org/project/EditorConfig/
'django-polymorphic',

# https://github.com/akaihola/darker
# https://github.com/ikamensh/flynt
# https://github.com/pycqa/isort
# https://github.com/pygments/pygments
'darker[flynt, isort, color]',

'typeguard', # https://github.com/agronholm/typeguard/
]

[project.urls]
Documentation = "https://github.com/boxine/bx_django_utils/"
Source = "https://github.com/boxine/bx_django_utils/"
Expand Down

0 comments on commit 3b8d0e9

Please sign in to comment.