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

Install as VCS via pip or poetry #117

Closed
wants to merge 15 commits into from
Closed

Install as VCS via pip or poetry #117

wants to merge 15 commits into from

Conversation

matteo4diani
Copy link
Contributor

@matteo4diani matteo4diani commented Jun 14, 2023

  • Add Poetry pyproject.toml and pin dependencies with tilde requirements
  • Remove .travis.yml as Travis CI discontinued free builds for OS projects
  • Add GitHub Action for linting+testing at .github/workflows/workflow.yml, tests/ directory is ran with unittest
  • Remove /dsm folder as it's already included in /auton_survival and a double entry-point causes errors when installing as VCS
  • Generate new requirements.txt with poetry export --output requirements.txt

@matteo4diani
Copy link
Contributor Author

matteo4diani commented Jun 14, 2023

Install by pip / poetry #87

With pip

To install directly from pip:

  • Run python3.9 -m pip install "auton-survival @ git+https://github.com/matteo4diani/auton-survival@dev-mfordiani-87-install-as-vcs": Screenshot 2023-06-14 at 16 16 27

With poetry

  • Install Poetry https://python-poetry.org/docs/#installation
  • Run poetry init and adopt this config: Screenshot 2023-06-14 at 15 54 42
  • Run poetry add "git+https://github.com/matteo4diani/auton-survival.git#dev-mfordiani-87-install-as-vcs": Screenshot 2023-06-14 at 15 58 14
  • Your pyproject.toml should look like this: Screenshot 2023-06-14 at 16 04 41

@matteo4diani matteo4diani marked this pull request as ready for review June 14, 2023 14:26
@matteo4diani matteo4diani changed the title #87 Install as VCS via pip or poetry Install as VCS via pip or poetry Jun 22, 2023
@matteo4diani matteo4diani mentioned this pull request Jul 18, 2023
@IvanUniTO
Copy link

@matteo4diani just did PR #121. Now @chiragnagpal has options to choose from ;).
Let's hope one of them will be merged.

@matteo4diani matteo4diani closed this by deleting the head repository Aug 12, 2023
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