Skip to content
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

Library project mode #36

Merged

Conversation

antoineandrieu
Copy link
Contributor

Add the library mode requested in issue 6.

The code adds a prompt to ask the developer if he wants this project to be a library. If yes, the generator adds the setup.py & setup.cfg files to be able to install the project as a dependency.

To keep it simple, it did not add a pyproject.toml as recommended by the PEP 518 and it does not create any sub directory. It can be easily added if needed or we might want to add "sub prompts" to customize the library mode.

It only impacts Nile & Protostar as with Hardhat the generated code is automatically installable as a library.

@Bernardstanislas Bernardstanislas merged commit 829eda3 into onlydustxyz:main Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants