File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,7 @@ Install using `setup.py`:
1313``` console
1414tar xfz phonenumbers-<version>.tar.gz
1515cd phonenumbers-<version>
16- python setup.py build
17- sudo python setup.py install # or su first
16+ sudo python -m pip install . # or su first
1817```
1918
2019Running Tests
@@ -134,15 +133,17 @@ Release Procedure
134133 ` git tag vX.Y.Z `
135134- Push the tag to Github with:
136135 ` git push <github-remote> vX.Y.Z `
136+ - Ensure you have the requirements to build:
137+ ` pip install build twine `
137138- Push the lite package to PyPI with:
138139 ```
139- cd python && rm -rf build dist && ./setup.py lite sdist bdist_wheel
140+ cd python/phonenumberslite && rm -rf build dist && python -m build
140141 twine check dist/*
141142 twine upload dist/*
142143 ```
143144- Push the package to PyPI with:
144145 ```
145- cd python && rm -rf build dist && ./setup.py sdist bdist_wheel
146+ cd python && rm -rf build dist && python -m build
146147 twine check dist/*
147148 twine upload dist/*
148149 ```
You can’t perform that action at this time.
0 commit comments