Skip to content

Commit 1a49328

Browse files
committed
Rename module to patch_ng
Signed-off-by: Uilian Ries <uilianries@gmail.com>
1 parent 7057c3c commit 1a49328

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,18 @@ Things that don't work out of the box:
3939

4040
### Usage
4141

42-
Download **patch.py** and run it with Python. It is a self-contained
42+
Download **patch_ng.py** and run it with Python. It is a self-contained
4343
module without external dependencies.
4444

45-
patch.py diff.patch
45+
patch_ng.py diff.patch
4646

4747
You can also run the .zip file.
4848

49-
python patch-1.17.zip diff.patch
49+
python patch-ng-1.17.zip diff.patch
5050

5151
### Installation
5252

53-
**patch.py** is self sufficient. You can copy it into your repository
53+
**patch_ng.py** is self sufficient. You can copy it into your repository
5454
and use it from here. This setup will always be repeatable. But if
5555
you need to add `patch` module as a dependency, make sure to use strict
5656
specifiers to avoid hitting an API break when version 2 is released:

patch.py renamed to patch_ng.py

File renamed without changes.

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def get_requires(filename):
3131
def load_version():
3232
"""Loads a file content"""
3333
filename = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)),
34-
"patch.py"))
34+
"patch_ng.py"))
3535
with open(filename, "rt") as version_file:
3636
content = version_file.read()
3737
version = re.search('__version__ = "([0-9a-z.-]+)"', content).group(1)
@@ -86,7 +86,7 @@ def load_version():
8686

8787
# Alternatively, if you want to distribute just a my_module.py, uncomment
8888
# this:
89-
py_modules=["patch"],
89+
py_modules=["patch_ng"],
9090

9191
# List run-time dependencies here. These will be installed by pip when
9292
# your project is installed. For an analysis of "install_requires" vs pip's

0 commit comments

Comments
 (0)