-
-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow arbitrary filenames/templates in write_to #36
Comments
👍 I'd like to be able to (for example) write out a
|
@prologic what is the version info needed for? |
A good idea at the time; hardly used; but to programatically compute/compare version numbers at runtime much liks |
my general suggestion is to always use pkg_resources.parse_version of setuptools for that while working with version numbers im detail it beame rather apparent that all other ways break under too many circumstances for example its not clear how to encode dev/local versions, scm commit id's or date metadata for dirty workdirs so on one side its practically impossible to sanely encode the metadata setuptools_scm will put into theversion as a tuple, on the other hand, Versions from pkg_resources are very comparable already also using pkg_resources to check requirmements seems much more reliable than a self-hacked scheme |
Whilst I agree it could still be useful to be able to template out |
the general mechanism is implemented, for the detail i created a new issue |
superseeds #33
there should be a way to allow the writing of arbitrary files/styles
an idea os to have a write_to_template that acompanies write_to and
just having defaults for the supported extensions
The text was updated successfully, but these errors were encountered: