-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migration to use pyproject toml instead of setup.py (#82)
* migration to pyproject.toml * fixing workflow * adding optional dependencies for tests * added python parametrization for CI pytest
- Loading branch information
Showing
4 changed files
with
60 additions
and
53 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
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,51 @@ | ||
[build-system] | ||
requires = ["setuptools", "setuptools-scm"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[metadata] | ||
name = "filetracker" | ||
|
||
[tool.setuptools] | ||
package-dir = {"filetracker" = "filetracker"} | ||
|
||
[project] | ||
name = "filetracker" | ||
authors = [ | ||
{name = "SIO2 Project Team", email = "[email protected]"}, | ||
] | ||
description = "Filetracker caching file storage" | ||
readme = "README.md" | ||
requires-python = ">=3.7" | ||
license = {text = "GPL"} | ||
classifiers = [ | ||
"Framework :: Django", | ||
"Programming Language :: Python :: 3", | ||
] | ||
dependencies = [ | ||
"bsddb3==6.2.7", | ||
"flup6", | ||
"gunicorn==19.9.0", | ||
"progressbar2", | ||
"requests", | ||
"six", | ||
] | ||
version = "2.1.5" | ||
|
||
[project.urls] | ||
"homepage" = "https://github.com/sio2project/filetracker" | ||
|
||
[project.optional-dependencies] | ||
server = [ | ||
"gevent==22.10.2", | ||
"greenlet==2.0.2", | ||
] | ||
tests = [ | ||
"pytest", | ||
] | ||
|
||
[project.scripts] | ||
filetracker = "filetracker.client.shell:main" | ||
filetracker-server = "filetracker.servers.run:main" | ||
filetracker-cache-cleaner = "filetracker.scripts.cachecleaner:main" | ||
filetracker-migrate = "filetracker.scripts.migrate:main" | ||
filetracker-recover = "filetracker.scripts.recover:main" |