-
Notifications
You must be signed in to change notification settings - Fork 4
/
install.txt
56 lines (34 loc) · 1.68 KB
/
install.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Installation
============
Using pip (or ...)
------------------
:Category: Stable version
:Precondition: :pypi:`pip` (or :pypi:`setuptools`) is installed
Execute the following command to install :pypi:`data-migrator` with :pypi:`pip`::
pip install data-migrator
To update an already installed :pypi:`data-migrator` version, use::
pip install -U data-migrator
.. hint::
See also `pip related information`_ for installing Python packages.
.. _`pip related information`: https://pip.pypa.io/en/latest/installing.html
Using a Source Distribution
---------------------------
After unpacking the :pypi:`data-migrator` source distribution,
enter the newly created directory "data-migrator-<version>" and run::
python setup.py install
Using the Github Repository
---------------------------
:Category: Bleading edge
:Precondition: :pypi:`pip` is installed
Run the following command
to install the newest version from the `Github repository`_::
pip install -e git+https://github.com/schubergphilis/data-migrator
To install a tagged version from the `Github repository`_, use::
pip install -e git+https://github.com/schubergphilis/data-migrator@<tag>
where <tag> is the placeholder for an `existing tag`_. You can drop the -e and not
install in `editable mode`_ if you expect **not** to edit the source. Running in editable
mode allows to work on the code while the library is installed and available. Be sure
to make that pull-request ;-)
.. _`Github repository`: https://github.com/schubergphilis/data-migrator
.. _`existing tag`: https://github.com/schubergphilis/data-migrator/tags
.. _`editable mode`: https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs