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

Add renames option to Python target #121

Merged
merged 10 commits into from Mar 16, 2017

Conversation

@dahlia
Member

dahlia commented Mar 16, 2017

This patch introduces a new option targets.python.renames. It is a translation table of ModulePath to ModulePath and purposes to rename the matched module paths. Here's an example (which motivated me to implement this):

[targets.python.renames]
contract = "contract-schema"

It makes the root module contract to be compiled to Python package contract_schema. See docs/target/python.md for more details.

@dahlia dahlia added the typ:enhance label Mar 16, 2017

@dahlia dahlia self-assigned this Mar 16, 2017

@dahlia dahlia requested review from kanghyojun, yjroot, Kroisse, AiOO and heejongahn Mar 16, 2017

@@ -0,0 +1,91 @@
Python target

This comment has been minimized.

@kanghyojun

kanghyojun Mar 16, 2017

Member

👍훌륭합니다

@dahlia dahlia merged commit f162978 into nirum-lang:master Mar 16, 2017

1 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment