requirements.txt vs setup.py #50387
Labels
No Label
legacy project
Infrastructure: Websites
legacy project
Pillar
legacy project
Pillar Framework
legacy project
Pillar Website
Priority::High
Priority::Low
Priority::Normal
Status::Archived
Status::Confirmed
Status::Resolved
Type::Bug
Type::Design
Type::Patch
Type::Report
Type::To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: archive/pillar#50387
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently installing Pillar with
pip install -e .
does not install al requirements needed by the app. Is there a particular reason for it? At the beginning of the file there is a text saying Setup file for testing, not for packaging/distribution.The
requirements.txt
seems to contain all requirements.Changed status to: 'Open'
Added subscriber: @fsiddi
Added subscriber: @dfelinto
pip install -e .
runssetup.py
, which should install the dependencies needed by the app. They might be different versions than inrequirements.txt
, as generallysetup.py
contains only minimum versions supported.For setting up a dev or prod environment, I would always recommend
pip install -r requirements.txt
and thenpip install -e .
.Let's use this ticket to clean up the requirements.txt files, though. I have a plan for this, but it does require a more strict directory layout on our dev machines:
$DIR
; on my machine this is/home/sybren/workspace/cloud
. The exact directory doesn't matter, as long as it contains all Cloud projects.$DIR/pillar
,$DIR/flamenco
,$DIR/attract
,$DIR/pillar-python-sdk
, and$DIR/blender-cloud
.requirements.txt
files of their dependencies, so in$DIR/flamenco/requirements.txt
we include-r ../pillar/requirements.txt
. In a similar way,$DIR/blender-cloud/requirements.txt
will refer to the Pillar, Flamenco and Attract files.This does give us less freedom over where we place things on our development machines. However, it does free us from the hassle of keeping all the requirements synced up between projects.
Let's also take this as a chance to implement
requirements-dev.txt
for unittest and docs related packages.On in, while porting to Python 3.6
Changed status from 'Open' to: 'Resolved'
Resolved in the respective
py36
branches of the components that make up the Cloud.