Skip to content

Commit

Permalink
add compatibility for Mac virtualenvirnoment installation
Browse files Browse the repository at this point in the history
  • Loading branch information
dmehlem committed Oct 16, 2023
1 parent 5ac07b5 commit 91ca2b0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ venv is included in python since version 3.3. If your python version is older co

Download RDPlot. Make sure you do this at a place where it can stay::

git clone --depth 1 https://github.com/IENT/RDPlot
git clone https://github.com/IENT/RDPlot
cd RDPlot

Create a virtualenv named "env" inside the RDPlot directory::
Expand All @@ -107,7 +107,7 @@ Create a virtualenv named "env" inside the RDPlot directory::
Activate the venv and install dependencies::

source env/bin/activate
pip3 install --upgrade pip gitpython
pip3 install --upgrade pip gitpython wheel

Build and install RDPlot::

Expand Down
24 changes: 12 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,19 +120,19 @@ def get_version():

def get_install_requires():
if 'FLATPAK_INSTALL' in os.environ:
install_requires=['cycler', 'matplotlib', 'numpy',
'py', 'pyparsing', 'pyqt5', 'pytest',
'python-dateutil', 'pytz', 'six',
'scipy', 'tabulate', 'mpldatacursor',
'xmltodict', 'jsonpickle',
'tikzplotlib', 'Pillow'],
install_requires=['cycler', 'jsonpickle', 'matplotlib',
'mpldatacursor', 'numpy', 'Pillow',
'py', 'pyparsing', 'pyqt5', 'pytest',
'python-dateutil', 'pytz', 'six',
'scipy', 'tabulate', 'tikzplotlib',
'xmltodict'],
else:
install_requires=['cycler', 'matplotlib==3.4.2', 'numpy',
'py', 'pyparsing', 'pyqt5', 'pytest',
'python-dateutil', 'pytz', 'six',
'scipy', 'tabulate', 'mpldatacursor',
'xmltodict', 'jsonpickle',
'tikzplotlib', 'Pillow'],
install_requires=['cycler', 'jsonpickle', 'matplotlib<3.8.0',
'mpldatacursor', 'numpy', 'Pillow',
'py', 'pyparsing', 'pyqt5', 'pytest',
'python-dateutil', 'pytz', 'six',
'scipy', 'tabulate', 'tikzplotlib',
'xmltodict'],
return install_requires

setup(
Expand Down

0 comments on commit 91ca2b0

Please sign in to comment.