From e64c0ee2850227366071137c779f6712531bfed2 Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Fri, 8 Mar 2024 19:33:30 +0900 Subject: [PATCH] update project layout --- .travis.yml | 7 ------- README.rst | 9 +++++++-- pyproject.toml | 8 +++++--- flask_pymemcache.py => src/flask_pymemcache.py | 0 .../test_flask_pymemcache.py | 0 5 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 .travis.yml rename flask_pymemcache.py => src/flask_pymemcache.py (100%) rename test_flask_pymemcache.py => tests/test_flask_pymemcache.py (100%) diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 438c527..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -services: - - memcached -language: python -python: 3.3 -before_script: - - "pip install --upgrade pip tox virtualenv" -script: "tox" diff --git a/README.rst b/README.rst index f68f03d..dc709a4 100644 --- a/README.rst +++ b/README.rst @@ -3,8 +3,13 @@ pymemcache_ integration for Flask .. _pymemcache: https://github.com/pinterest/pymemcache -.. image:: https://travis-ci.org/KLab/Flask-PyMemcache.png - :target: https://travis-ci.org/KLab/Flask-PyMemcache +Install +------- + +..code-block:: bash + + pip install Flask-PyMemcache + Initialize ---------- diff --git a/pyproject.toml b/pyproject.toml index 76e2b58..7b9037e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,6 +6,7 @@ build-backend = "hatchling.build" name = "Flask-PyMemcache" version = "0.0.6" description = "pymemcache integration for Flask" +requires-python = ">=3.7" readme = "README.rst" license = "MIT" authors = [ @@ -28,6 +29,7 @@ rye = { dev-dependencies = [ ] } [tool.hatch.build.targets.sdist] -include = [ - "/flask_pymemcache", -] +packages = ["src/flask_pymemcache.py"] + +[tool.hatch.build.targets.wheel] +packages = ["src/flask_pymemcache.py"] diff --git a/flask_pymemcache.py b/src/flask_pymemcache.py similarity index 100% rename from flask_pymemcache.py rename to src/flask_pymemcache.py diff --git a/test_flask_pymemcache.py b/tests/test_flask_pymemcache.py similarity index 100% rename from test_flask_pymemcache.py rename to tests/test_flask_pymemcache.py