Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions news/profile-docstring.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Added:**

* No news added.

**Changed:**

* <news item>

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* <news item>

**Security:**

* <news item>
13 changes: 13 additions & 0 deletions src/diffpy/cmi/profilesmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,19 @@ class Profile:
Extra requirement lines (scripts or packages).
source : path-like
Absolute path to the YAML file that defined the profile.

Profile Format
--------------
All profile `.yaml` files must have the following structure::

packs:
- <pack_name>

extras:
- <additional_package_name>

The file name is the profile identifier used for installing profiles.
See `requirements/profiles/all.yml` for an example.
"""

name: str
Expand Down
Loading