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:
39
39
40
40
### Usage
41
41
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
43
43
module without external dependencies.
44
44
45
- patch .py diff.patch
45
+ patch_ng .py diff.patch
46
46
47
47
You can also run the .zip file.
48
48
49
- python patch-1.17.zip diff.patch
49
+ python patch-ng- 1.17.zip diff.patch
50
50
51
51
### Installation
52
52
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
54
54
and use it from here. This setup will always be repeatable. But if
55
55
you need to add ` patch ` module as a dependency, make sure to use strict
56
56
specifiers 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):
31
31
def load_version ():
32
32
"""Loads a file content"""
33
33
filename = os .path .abspath (os .path .join (os .path .dirname (os .path .abspath (__file__ )),
34
- "patch .py" ))
34
+ "patch_ng .py" ))
35
35
with open (filename , "rt" ) as version_file :
36
36
content = version_file .read ()
37
37
version = re .search ('__version__ = "([0-9a-z.-]+)"' , content ).group (1 )
@@ -86,7 +86,7 @@ def load_version():
86
86
87
87
# Alternatively, if you want to distribute just a my_module.py, uncomment
88
88
# this:
89
- py_modules = ["patch " ],
89
+ py_modules = ["patch_ng " ],
90
90
91
91
# List run-time dependencies here. These will be installed by pip when
92
92
# 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