Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
chore: switch to pdm from setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryanthelol committed Nov 6, 2023
1 parent 14068cd commit 9289bf8
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 71 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ ipython_config.py
# in version control.
# https://pdm.fming.dev/#use-with-ide
.pdm.toml
.pdm-python
.pdm-build/

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/
Expand Down
68 changes: 68 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@

[project]
name = "namekoplus"
version = "0.5.0"
description = "A lightweight Python distributed microservice solution"
keywords = ["lightweight python distributed microservice solution"]
readme = "README.md"
authors = [
{name = "Bryant He", email = "[email protected]"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.8, <4"
dependencies = [
"click==8.1.5",
"mako==1.2.4",
"nameko==3.0.0rc11",
"pytest==7.4.0",
"python-on-whales==0.65.0",
"shortuuid==1.0.11",
]
license = {text = "MIT"}

[project.urls]
Homepage = ""
"Source Code" = "https://github.com/Bryanthelol/namekoplus"
"Bug Tracker" = "https://github.com/Bryanthelol/namekoplus/issues"

[project.optional-dependencies]
ha = [
"cachetools==5.3.0",
"circuitbreaker==2.0.0",
"tenacity==8.2.2",
]
ob = [
"nameko-sentry==1.0.0",
"nameko-tracer==1.4.0",
]
log = [
"logstash_formatter==0.5.17",
"loguru==0.7.2",
]
metric = [
"statsd==4.0.1",
]
schema = [
"marshmallow==3.20.1",
]
security = [
"cryptography",
]
dev = [
"environs==9.5.0",
"python-dotenv==1.0.0",
]

[project.scripts]
namekoplus = "namekoplus.command:cli"

[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
71 changes: 0 additions & 71 deletions setup.py

This file was deleted.

0 comments on commit 9289bf8

Please sign in to comment.