Skip to content

Conversation

@dahlia
Copy link
Member

@dahlia 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 Type: Enhancement/new feature label Mar 16, 2017
@dahlia dahlia self-assigned this Mar 16, 2017
@@ -0,0 +1,91 @@
Python target
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍훌륭합니다

@dahlia dahlia merged commit f162978 into nirum-lang:master Mar 16, 2017
@dahlia dahlia added cat:packaging Category: Nirum schema packaging (not compiler packaging) cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) target:python labels Aug 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat:packaging Category: Nirum schema packaging (not compiler packaging) cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) target:python typ:enhance Type: Enhancement/new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants