AirSage / Petrel

Tools for writing, submitting, debugging, and monitoring Storm topologies in pure Python
BSD 3-Clause "New" or "Revised" License
247 stars 70 forks source link

Packaging needs improvements #94

Open dmitry-saritasa opened 7 years ago

dmitry-saritasa commented 7 years ago
vi petrel265_virtualenv.log

Successfully built PyYAML
Installing collected packages: PyYAML
Successfully installed PyYAML-3.10
Installing petrel==1.0.3.0.3
Searching for petrel==1.0.3.0.3
Reading https://pypi.python.org/simple/petrel/
No local packages or working download links found for petrel==1.0.3.0.3
error: Could not find suitable distribution for Requirement.parse('petrel==1.0.3.0.3')

bash-4.3# python3 --version
Python 3.5.2

https://pypi.python.org/simple/petrel/ doesn't have 1.0.3.0.3 installable through egg (easy_install) for python 3.5

dmitry-saritasa commented 7 years ago

Also would be nice to support 3.6, I think there are no ground changes that will break Petrel

dmitry-saritasa commented 7 years ago

I'm trying to deploy into alpine:3.5

barrywhart commented 7 years ago

Newer versions of Petrel including 1.0.3.0.3 are only available as .whl, not .egg. I think it will be necessary to install the Python wheel package and a newer version of setuptools in order for pip install petrel to work. Do you think you could create a PR to fix this? It should not be difficult.

Regarding Python 3.6:

dmitry-saritasa commented 7 years ago

@barrywhart okay I'll work on it.