sergedomk / fiql_parser

Python parser for the Feed Item Query Language (FIQL)
BSD 3-Clause "New" or "Revised" License
11 stars 4 forks source link

[*] Get rid of pkg_resources for fiql_parser version. #3

Closed kokhans closed 8 years ago

kokhans commented 8 years ago

pkg_resources shim is not available without installed setuptools. So initialization of fiql_parser fails. In our case we use AWS lambda without pip and setuptools on it. This pull request contains a common versioning practice.

sergedomk commented 8 years ago

Thank your for the pull request, I end up implementing a variation on your pull request which eliminates the pkg_resources requirement while maintaining a single source for the version string available to the documentation code as well as setup.py for pypi distribution.

It should get you around the installation issue you experienced.

If you have any problems with the 0.15 package, please don't hesitate to bring them up.