Skip to content

Commit

Permalink
using Python 3.8, conda installation of swig
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlib committed Apr 14, 2022
1 parent 33872b1 commit 733090d
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 34 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,14 @@ Both PyPTV and the OpenPTV library are in the development phase and continuously

https://openptv-python.readthedocs.io/en/latest/installation_instruction.html

python -m pip install --upgrade pip
# python -m pip install --upgrade pip
conda create -n pyptv_py39 python=3.9 -y
conda activate pyptv_py39
conda install swig -y
pip install numpy
pip install pyptv --index-url https://pypi.fury.io/pyptv --extra-index-url https://pypi.org/simple
pip install git+https://github.com/enthought/enable
pip install optv --index-url https://pypi.fury.io/pyptv
pip install pyptv


Follow the instructions in our **screencasts and tutorials**:
Expand Down
2 changes: 1 addition & 1 deletion conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: pyptv
version: 0.2.1
version: 0.1.7

source:
path: ..
Expand Down
3 changes: 2 additions & 1 deletion pyptv/calibration_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
ImagePlot, ArrayDataSource, LinearMapper
# from traitsui.menu import MenuBar, ToolBar, Menu, Action
from chaco.tools.image_inspector_tool import ImageInspectorTool
from chaco.tools.simple_zoom import SimpleZoom
from chaco.tools.better_zoom import BetterZoom as SimpleZoom
# from chaco.tools.simple_zoom import SimpleZoom
from pyptv.text_box_overlay import TextBoxOverlay
from pyptv.code_editor import codeEditor
from pyptv.quiverplot import QuiverPlot
Expand Down
22 changes: 0 additions & 22 deletions requirements.txt

This file was deleted.

18 changes: 10 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
from setuptools import setup

requirements = [
'chaco==4.8.0',
'enable==4.8.1',
'numpy==1.17.3',
'optv==0.2.6',
'PyQt5==5.12.2',
'scikit-image==0.16.2',
'Pygments==2.7.4',
'chaco',
'enable',
'numpy',
'optv',
'PyQt5',
'scikit-image',
'Pygments',
'six',
'imagecodecs'
]

setup(
name='pyptv',
version='0.1.4',
version='0.1.7',
description='Python GUI for the OpenPTV library `liboptv`',
author="Alex Liberzon",
author_email='[email protected]',
Expand Down

0 comments on commit 733090d

Please sign in to comment.