From 010bf9bc3ba4f945f14939477e203eb07e05aa39 Mon Sep 17 00:00:00 2001 From: Daniel Copley Date: Sun, 24 Dec 2023 23:11:08 -0700 Subject: [PATCH] Rename to avoid similar names in PYPI --- README.md | 4 ++-- pyproject.toml | 6 +++--- {quinemccluskey => simpliqm}/__init__.py | 0 {quinemccluskey => simpliqm}/__main__.py | 0 {quinemccluskey => simpliqm}/cli.py | 0 {quinemccluskey => simpliqm}/minimize.py | 0 {quinemccluskey => simpliqm}/term.py | 0 tests/test_minimization.py | 2 +- 8 files changed, 6 insertions(+), 6 deletions(-) rename {quinemccluskey => simpliqm}/__init__.py (100%) rename {quinemccluskey => simpliqm}/__main__.py (100%) rename {quinemccluskey => simpliqm}/cli.py (100%) rename {quinemccluskey => simpliqm}/minimize.py (100%) rename {quinemccluskey => simpliqm}/term.py (100%) diff --git a/README.md b/README.md index 901d0ca..0553f1f 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ simplifying Boolean expressions efficiently. Now you can install the Quine–McCluskey Python library using `pip`. Just run the following command: ```bash -pip install quinemccluskey +pip install simpliqm ``` ### Getting Started @@ -47,7 +47,7 @@ Ensure you have Python version 3.6 or higher installed to use this library. #### From Python: ```python -from quinemccluskey import minimize, format_minimized_expression +from simpliqm import minimize, format_minimized_expression n_bits = 4 minterms = [0, 1, 2, 4, 8, 10, 12, 15] diff --git a/pyproject.toml b/pyproject.toml index fb00b13..5c7800a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["setuptools>=64.0", "setuptools_scm>=8"] build-backend = "setuptools.build_meta" [project] -name = "quinemccluskey" +name = "simpliqm" dynamic = ["version"] dependencies = [] authors = [ @@ -29,12 +29,12 @@ classifiers = [ ] [tool.setuptools] -packages = ["quinemccluskey"] +packages = ["simpliqm"] [tool.setuptools_scm] [project.scripts] -qm = "quinemccluskey.cli:cli" +qm = "simpliqm.cli:cli" [project.urls] Homepage = "https://github.com/djcopley/QuineMcCluskey" diff --git a/quinemccluskey/__init__.py b/simpliqm/__init__.py similarity index 100% rename from quinemccluskey/__init__.py rename to simpliqm/__init__.py diff --git a/quinemccluskey/__main__.py b/simpliqm/__main__.py similarity index 100% rename from quinemccluskey/__main__.py rename to simpliqm/__main__.py diff --git a/quinemccluskey/cli.py b/simpliqm/cli.py similarity index 100% rename from quinemccluskey/cli.py rename to simpliqm/cli.py diff --git a/quinemccluskey/minimize.py b/simpliqm/minimize.py similarity index 100% rename from quinemccluskey/minimize.py rename to simpliqm/minimize.py diff --git a/quinemccluskey/term.py b/simpliqm/term.py similarity index 100% rename from quinemccluskey/term.py rename to simpliqm/term.py diff --git a/tests/test_minimization.py b/tests/test_minimization.py index 599260c..bcef04f 100644 --- a/tests/test_minimization.py +++ b/tests/test_minimization.py @@ -1,5 +1,5 @@ import unittest -from quinemccluskey.minimize import * +from simpliqm.minimize import * class TestMinimization(unittest.TestCase):