From ebca8ed0e99658d720007c30542a28fc3ff48b51 Mon Sep 17 00:00:00 2001 From: omesser Date: Thu, 29 Feb 2024 00:44:47 +0200 Subject: [PATCH] pyproject details and python pinning in install script --- install | 2 +- pyproject.toml | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/install b/install index 93a9e10..d3f208c 100755 --- a/install +++ b/install @@ -53,7 +53,7 @@ def main(): # (from a local dir if it exists) # "python -m pip install" instead of "pip install" handles a pip # issue where it fails in a long-named dir - run('virtualenv --python=python3 venv && ' + run('virtualenv --python=python3.7 venv && ' 'source venv/bin/activate && ' 'python -m pip install {0} incremental && '.format(local_pip_packages) + 'python -m pip install {0} -r {1}'.format(local_pip_packages, requirements_file)) diff --git a/pyproject.toml b/pyproject.toml index 85ee4d3..41c90a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,14 @@ +[project] +name = 'manof' +requires-python = ">=3.7,<3.8" +version = "0.1.2" +authors = [ + {name = "Your Name", email = "you@yourdomain.com"}, +] + +[tool.setuptools] +py-modules = [] + # please keep this to a minimum - defaults are good [tool.black] exclude = '''