Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
The Universal Packaging Tool
upt
Commits
ceabd4d5
Commit
ceabd4d5
authored
Jun 12, 2019
by
Cyril Roelandt
Browse files
Mention the 'config' phase in requirements.
parent
9ac2152e
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
ceabd4d5
...
...
@@ -240,6 +240,10 @@ class MyFrontendParser(upt.Parser):
# - a version specifier, as defined in
# https://www.python.org/dev/peps/pep-0440/#version-specifiers
requirements={
'config': [
upt.PackageRequirement('config-dep', '==1.4'),
...
],
'build': [
upt.PackageRequirement('build-dep', '>1.2'),
...
...
...
upt/upt.py
View file @
ceabd4d5
...
...
@@ -152,6 +152,7 @@ class Package(object):
- summary: a short summary of the package's purpose
- description: a long description of the package's purpose
- requirement: a dict with 3 keys:
- 'config': the config dependencies of the package;
- 'build': the build dependencies of the package;
- 'run': the runtime dependencies of the package;
- 'test': the test dependencies of the package.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment