From 7d23cea0b69b132815ca0be2a8a9b86d93aae0ce Mon Sep 17 00:00:00 2001 From: Anthony Romaniello Date: Thu, 4 Aug 2022 10:20:46 -0600 Subject: [PATCH] Fixed build setup --- README.md | 4 ++-- setup.cfg | 4 ++-- {rsa_api => src/rsa_api}/__init__.py | 0 {rsa_api => src/rsa_api}/rsa_api.py | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename {rsa_api => src/rsa_api}/__init__.py (100%) rename {rsa_api => src/rsa_api}/rsa_api.py (100%) diff --git a/README.md b/README.md index ae23778..1e01950 100644 --- a/README.md +++ b/README.md @@ -105,9 +105,9 @@ This testing code was been adapted from the [Tektronix Cython RSA API testing co Build the Python package from the top level directory in this repository by running: -`python3 -m pip install --upgrade build` +`pip install build` -`python3 -m build` +`python -m build` ## License diff --git a/setup.cfg b/setup.cfg index e93d531..bbaed5b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,11 +18,11 @@ classifiers = [options] package_dir = - = rsa_api + = src packages = find: python_requires = >=3.7 install_requires = numpy>=1.21 [options.packages.find] -where = rsa_api +where = src diff --git a/rsa_api/__init__.py b/src/rsa_api/__init__.py similarity index 100% rename from rsa_api/__init__.py rename to src/rsa_api/__init__.py diff --git a/rsa_api/rsa_api.py b/src/rsa_api/rsa_api.py similarity index 100% rename from rsa_api/rsa_api.py rename to src/rsa_api/rsa_api.py