Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix bug in bootstrap script #86

Merged

Conversation

alexsoble
Copy link

@alexsoble alexsoble commented Feb 11, 2020

Notes

  • Technical improvement.
  • Details:
    • This PR substitutes in the user-supplied country name for the default country name in the project MANIFEST.in file when the user runs the bootstrap script.
    • If the country name is not updated in MANIFEST.in, the correct dependencies will not be installed by make install and the project will not run.
    • I tested the bootstrap script on this branch and found that make serve-local (new command!) built, installed, and ran the project without issues; testing the same on the master branch resulted in an error.

+ If the country name is not updated in MANIFEST.in, the correct dependencies will not be installed and the project will not run
@sandcha sandcha self-assigned this Feb 12, 2020
Copy link
Contributor

@sandcha sandcha left a comment

Choose a reason for hiding this comment

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

Thank you @alexsoble!
I'm not able to see the make install bug on a Mac but it improves the MANIFEST.in and this PR also solves the make build target 😀

openfisca-new-country/build/lib/openfisca_new_country now includes parameters/ and variables/. It also includes tests/ but this could be excluded in a futur PR.

CHANGELOG.md Outdated Show resolved Hide resolved
Co-Authored-By: sandcha <sandcha@users.noreply.github.com>
@alexsoble
Copy link
Author

@sandcha Thank you! Your CHANGELOG suggestion looks good to me. 👍

@bonjourmauko bonjourmauko merged commit d0afaf9 into openfisca:master Feb 22, 2020
@bonjourmauko bonjourmauko added this to the 2020/T1 milestone Feb 22, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants