File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff 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
4343module without external dependencies.
4444
45- patch .py diff.patch
45+ patch_ng .py diff.patch
4646
4747You 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
5454and use it from here. This setup will always be repeatable. But if
5555you need to add ` patch ` module as a dependency, make sure to use strict
5656specifiers to avoid hitting an API break when version 2 is released:
File renamed without changes.
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def get_requires(filename):
3131def 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
You can’t perform that action at this time.
0 commit comments