Skip to content

Commit 78c2ca0

Browse files
committed
Enable PyPI
- created PyPI package - added installation instructions See also: #5
1 parent 9fe0c26 commit 78c2ca0

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

docs/installation.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@ Installing :mod:`pypillometry` and its dependencies is automated and can be done
1010
$ pip install -r requirements.txt
1111
$ python setup.py install
1212
13+
:mod:`pypillometry` is on `PyPI <https://pypi.org/>`_ and released versions can be installed with `pip`:
14+
15+
.. code-block:: bash
16+
$ pip install pypillometry
17+
18+
It is also possible to install the developer's version directly from github using `pip`
19+
20+
.. code-block:: bash
21+
$ pip install git+https://github.com/ihrke/pypillometry.git
22+
23+
1324
Requirements
1425
------------
1526

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
with open("README.md", "r") as fh:
44
long_description = fh.read()
55

6+
with open("requirements.txt") as fh:
7+
requirements=fh.read().split()
8+
69
setuptools.setup(
710
name="pypillometry",
8-
version="1.0.1",
11+
version="1.0.2",
912
author="Matthias Mittner",
1013
author_email="matthias.mittner@uit.no",
1114
description="Pupillometry in Python.",
@@ -18,5 +21,6 @@
1821
"License :: OSI Approved :: MIT License",
1922
"Operating System :: OS Independent",
2023
],
24+
install_requires=requirements,
2125
python_requires='>=3.6',
2226
)

0 commit comments

Comments
 (0)