From 26e443bbe4a7152fbad887784eeb8f64a6efd42a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D4=9C=D0=B5=D1=95?= <5124946+wesinator@users.noreply.github.com> Date: Sat, 15 Feb 2020 18:25:30 -0500 Subject: [PATCH 1/2] correct import python imports cannot have hyphens --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f0669b8..2ca5a40 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,6 @@ $ pip3 install common-patterns ## Usage ``` python -import common-patterns +import common_patterns ``` From 4179621860c68d6c686ae948d57ec2bb5483e2ad Mon Sep 17 00:00:00 2001 From: Wes <5124946+wesinator@users.noreply.github.com> Date: Wed, 24 Mar 2021 09:15:24 -0400 Subject: [PATCH 2/2] remove name from __init__ --- common_patterns/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/common_patterns/__init__.py b/common_patterns/__init__.py index 0a6e9cc..e5589cb 100644 --- a/common_patterns/__init__.py +++ b/common_patterns/__init__.py @@ -2,5 +2,3 @@ # encoding: utf-8 from .common_patterns import * - -name = 'common-patterns'