Skip to content

Commit

Permalink
trim the long_description string for the generated setup.py (#64)
Browse files Browse the repository at this point in the history
* trim the `long_description` string for the generated `setup.py`

* CHANGELOG.md updated

---------

Co-authored-by: Sepand Haghighi <[email protected]>
  • Loading branch information
AHReccese and sepandhaghighi authored Oct 18, 2024
1 parent 3f58dae commit 8fd9f11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Added
- `ReserverBaseError` added in `reserver/__init__.py`
### Changed
- `generate_template_setup_py` method in `reserver_func.py`
- `Python 3.13` added to `test.yml`
## [0.3] - 2024-08-28
### Added
Expand Down
4 changes: 1 addition & 3 deletions reserver/reserver_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@ def generate_template_setup_py(package_name, user_parameters):
packages=[""" + "\"" + package_name + "\"" + "," + """],
version='0.0.0',
description=""" + "\"" + get_package_parameter("description", user_parameters) + "\"" + """,
long_description=\"\"\"
This name has been reserved using [Reserver](https://github.com/openscilab/reserver).
\"\"\",
long_description= \"This name has been reserved using [Reserver](https://github.com/openscilab/reserver).\",
long_description_content_type='text/markdown',
author=""" + "\"" + get_package_parameter("author", user_parameters) + "\"" + """,
author_email=""" + "\"" + get_package_parameter("author_email", user_parameters, "email") + "\"" + """,
Expand Down

0 comments on commit 8fd9f11

Please sign in to comment.