zhiyzuo / python-scopus

PyScopus
http://zhiyzuo.github.io/python-scopus/
MIT License
23 stars 29 forks source link

Add install requirements and fix installation errors #23

Open skilkis opened 3 years ago

skilkis commented 3 years ago

This PR adds installation_requirements to setup.py and fixes the installation errors due to these requirements not being available during install time when setup.py is run. To fix this a static .version file is created, removing the need for having the package version to be specified in init.py of the pyscopus package. Furthermore, setuptools_scm is use to get the latest Git tag when available. Therefore, when the package is installed with a newer Git tag than the static version available in .version; this file will be updated and can later be commited.

Summary of Changes: