-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ae74273
commit 5e9dc2b
Showing
5 changed files
with
56 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,22 @@ | ||
# Installation | ||
(installation)= | ||
|
||
## Stable release | ||
# Installation | ||
|
||
To install Django Codemod, run this command in your terminal: | ||
Django Codemod requires Python 3.6 or above. The preferred way to install Django Codemod, is with [pipx]: | ||
|
||
```shell | ||
$ pip install django-codemod | ||
$ pips install django-codemod | ||
``` | ||
|
||
This is the preferred method to install Django Codemod, as it will always install the most recent stable release. | ||
|
||
If you don't have [pip](https://pip.pypa.io) installed, this [Python installation guide](http://docs.python-guide.org/en/latest/starting/installation/) can guide you through the process. | ||
|
||
## From sources | ||
It will install the latest stable release in an isolated virtual environment, hence not polluting your global Python with dependencies. | ||
|
||
The sources for Django Codemod can be downloaded from the [Github repo](https://github.com/browniebroke/django-codemod). | ||
If you don't have [pipx] installed, checkout [their installation instructions][pipx-install] for your operating system of choice. | ||
|
||
You can either clone the public repository: | ||
|
||
```shell | ||
$ git clone git://github.com/browniebroke/django-codemod | ||
``` | ||
## Other ways to install | ||
|
||
Or download the [tarball](https://github.com/browniebroke/django-codemod/tarball/main): | ||
Django Codemod [is published on PyPI][pypi], and is based on [libCST], therefore you may install it with `pip`, `poetry` or `pipenv` if you wish to. | ||
|
||
```shell | ||
$ curl -OJL https://github.com/browniebroke/django-codemod/tarball/main | ||
``` | ||
|
||
Once you have a copy of the source, you can install it with: | ||
|
||
```shell | ||
$ python setup.py install | ||
``` | ||
[pipx]: https://pipxproject.github.io/pipx/ | ||
[pipx-install]: https://pipxproject.github.io/pipx/installation/ | ||
[pypi]: https://pypi.org/project/django-codemod/ | ||
[libcst]: https://libcst.readthedocs.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters