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

Make python functions callable from other projects. #13

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

asarephilip
Copy link
Collaborator

@asarephilip asarephilip commented Oct 18, 2023

Fix for issue Greenstand/treetracker-airflow-dags#208

The setup.py files package the modules in the python_funcions directory as a module that can be installed using pip.
This makes the function within the repo to be called in other projects.

You can then install this repo as a package by adding this line to your requirements.txt file:
git+https://github.com/Greenstand/treetracker-functions.git@main#egg=python_functions

@asarephilip asarephilip changed the title Make python functions callable from other projects. #208 Make python functions callable from other projects. Oct 18, 2023
@asarephilip
Copy link
Collaborator Author

@dadiorchen Please can you take a look?

@dadiorchen
Copy link
Contributor

@asarephilip oh, this is great, I need to discuss this online, are you in our slack community? Or leave your email address so I can invite you?

@asarephilip
Copy link
Collaborator Author

asarephilip commented Oct 25, 2023

Yes, I am already in the slack community

@asarephilip asarephilip marked this pull request as draft October 28, 2023 11:49
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.

2 participants