IN-CORE / pyincore-data

Mozilla Public License 2.0
0 stars 1 forks source link

change setup.py for supporting legacy naming convention for package #32

Closed ywkim312 closed 2 years ago

ywkim312 commented 2 years ago

This is for supporting the package naming convention when building pyincore-data for publishing to pypi. The current one normalizes the name based on pep 440, for example, if the name is pyincore-data.1.4.1.rc.1, it will automatically normalize the name as pyincore-data.1.4.1rc1 for fitting to pep 440. The code added in this PR will allow the name still be pyincore-data.1.4.1.rc.1 when building the package using bdist_wheel, so the user can install the package like pip install pyincore-data==1.4.1.rc.1 instead of pip install pyincore-data==1.4.1rc1