File: installation.rst

package info (click to toggle)
pydataverse 0.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,168 kB
  • sloc: python: 4,862; sh: 61; makefile: 13
file content (95 lines) | stat: -rw-r--r-- 1,980 bytes parent folder | download
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
.. _user_installation:

Installation
=================

.. contents:: Table of Contents
  :local:

There are different options on how to install a Python package, mostly depending
on your preferred tools and what you want to do with it. The easiest
way is in most cases to use pip (see :ref:`below <user_installation_pip>`).


.. _user_installation_requirements:

Requirements
-----------------------------

.. include:: ../snippets/requirements.rst


Installer requirements: `setuptools <https://pypi.org/project/setuptools>`_


.. _user_installation_pip:

Pip
-----------------------------

To install the latest release of pyDataverse from PyPI, simply run this
`pip <https://pypi.org/project/pip/>`_
command in your terminal of choice:

.. include:: ../snippets/pip-install.rst


.. _user_installation_pipenv:

Pipenv
-----------------------------

`Pipenv <https://pipenv.pypa.io/en/latest/>`_ combines pip and virtualenv.

.. code-block:: shell

    pipenv install pyDataverse


.. _user_installation_source-code:


Conda
-----------------------------

pyDataverse is also available through `conda-forge <https://conda-forge.org/>`_.

.. code-block:: shell

    conda install pyDataverse -c conda-forge


Source Code
-----------------------------

PyDataverse is actively developed on GitHub, where the code is
`always available <https://github.com/gdcc/pyDataverse>`_.

You can either clone the public repository:

.. code-block:: shell

    git clone git://github.com/gdcc/pyDataverse.git

Or download the archive of the ``master`` branch as a zip:

.. code-block:: shell

    curl -OL https://github.com/gdcc/pyDataverse/archive/master.zip

Once you have a copy of the source, you can embed it in your own Python
package:

.. code-block:: shell

    cd pyDataverse
    pip install .


.. _user_installation_development:

Development
-----------------------------

To set up your development environment, see
:ref:`contributing_working-with-code_development-environment`.