python project deployment & version

As we do not have any pypi server here, I usually deliver the following deploy.yml with every python application I write:

`

does state=latest not work?

It would usually, but for the copy task as well as for the install myapp task i need to pass the filename to the pip module. setuptools always generates the filename as {{ package }}-{{ version }}.tar.gz

(Sorry for the late answer, had some troubles with google)