GazeTracking icon indicating copy to clipboard operation
GazeTracking copied to clipboard

Add setup.py script

Open tim-fan opened this issue 6 years ago • 2 comments

Hi there, thanks for the great package!

I forked to add a setup.py script, so I can now install the package via: pip install git+https://github.com/tim-fan/GazeTracking.git

I'm making this pull request in case you want this change in your repo.

It was the first time I've written a setup.py file, so let me know if you want anything changed, for instance if you don't want your email in the package info, or if you'd like to start the version number at something other than 0.1.

I suppose a next step could be to upload to PyPI, although this is something I've never tried.

tim-fan avatar Aug 03 '19 11:08 tim-fan

Is it working on your system? Just asking. I haven't tried it on my system. Are there any system requirements to install the software?

hp77-creator avatar Jun 10 '20 05:06 hp77-creator

Yep it works for me. I just tested it on bionic - I was able to run the example as follows:

python3 -m venv venv
source venv/bin/activate
pip install git+https://github.com/tim-fan/GazeTracking.git
wget https://raw.githubusercontent.com/tim-fan/GazeTracking/master/example.py
python example.py

(note it would be nice to include the example script in the package, so it is available at the command line after pip installing)

tim-fan avatar Jun 10 '20 10:06 tim-fan