This sample script...
import seedcase_sprout as sp
from scripts.package_properties import package_properties
def main():
# Create the properties script in default location.
sp.create_properties_script()
# Write properties from properties script to `datapackage.json`.
sp.write_properties(properties=package_properties)
if __name__ == "__main__":
main()
...does not work in a fresh repo since package_properties is trying to be imported before the file is created via create_properties_script().
One way to solve it would be a try/except clause in the import but it could easily get a bit convoluted for the users editing this file manually. The necessity to solve this would depend on how common this workflow is. Do we assume that everyone using the package first runs a main.py file that only contains create_properties_script() or do we want fully developed pipelines to be portable into new projects?