From 937d94cbe0a53000060df6305d32f340aacc940b Mon Sep 17 00:00:00 2001 From: Gregor von Laszewski Date: Sat, 16 Dec 2023 10:05:45 -0500 Subject: [PATCH] towards new namespace --- README-python.md | 14 ++++++++++++++ bin/install.sh | 4 ++++ bin/py3.sh | 7 +++++++ pyproject.toml | 4 +++- 4 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 README-python.md create mode 100644 bin/install.sh create mode 100644 bin/py3.sh diff --git a/README-python.md b/README-python.md new file mode 100644 index 00000000..e9cd2e1b --- /dev/null +++ b/README-python.md @@ -0,0 +1,14 @@ +# Python INstalation + +## Python 3.12.1 + +```bash +local> + wget https://www.python.org/ftp/python/3.12.1/Python-3.12.1.tar.xz + tar xvf Python-3.12.1.tar.xz + cd Python-3.12.1/ + ./configure --enable-optimizations + sudo make -j16 && sudo make altinstall + python3.12 --version && pip3.12 --version +``` + diff --git a/bin/install.sh b/bin/install.sh new file mode 100644 index 00000000..fb103d8f --- /dev/null +++ b/bin/install.sh @@ -0,0 +1,4 @@ +#cd cloudmesh-common +#pip install -e . +#cd .. +make local diff --git a/bin/py3.sh b/bin/py3.sh new file mode 100644 index 00000000..b8a305c6 --- /dev/null +++ b/bin/py3.sh @@ -0,0 +1,7 @@ +rm -rf ~/ENVx +python3.12 -m venv ~/ENVx +pip install pip -U +pip install setuptools +source ~/ENVx/bin/activate +which python +python --version diff --git a/pyproject.toml b/pyproject.toml index 76c355fb..c68e9a01 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ name = "cloudmesh-common" version = "5.0.20" description = "A set of useful APIs for cloudmesh" readme = "README.md" -requires-python = ">=3.11" +requires-python = ">=3.12" license = {file = "LICENSE"} authors = [ {name = "Gregor von Laszewski", email = "laszewski@gmail.com"} @@ -64,7 +64,9 @@ dependencies = [ "pywin32; platform_system == 'Windows'", "pyuac; platform_system == 'Windows'" ] + [project.urls] "Documentation" = "https://github.com/cloudmesh/cloudmesh-common" + [tool.setuptools.packages.find] exclude = ["deprecated", "deprecated.**", "tests", "tests.*", "examples"]