Skip to content

Commit

Permalink
Update {{ cookiecutter.package_name }}/.github/workflows/sub_package_…
Browse files Browse the repository at this point in the history
…update.yml

Co-authored-by: Stuart Mumford <[email protected]>
  • Loading branch information
CyclingNinja and Cadair committed Jan 19, 2024
1 parent 84614fa commit 683a99c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"short_description": "",
"author_name": "",
"author_email": "",
"project_url": "",
"license": [
"BSD 3-Clause",
"GNU GPL v3+",
"Apache Software License 2.0",
"BSD 2-Clause",
"Other"
],
"project_url": "",
"minimum_python_version": [
"3.9",
"3.10",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ jobs:
- name: Run update if available
if: steps.check.outputs.has_changes == '1'
# this needs to be sunpy details I think?
run: |
git config --global user.email ""
git config --global user.name "SunPy Org"
Expand Down
4 changes: 2 additions & 2 deletions {{ cookiecutter.package_name }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ description = "{{ cookiecutter.short_description }}"
readme = "README.rst"
requires-python = ">={{ cookiecutter.minimum_python_version }}"
license = { file = "licenses/LICENSE.rst", content-type = "text/plain" }
{% if cookiecutter.author_name and cookiecutter.author_email %}
{%- if cookiecutter.author_name and cookiecutter.author_email %}
authors = [
{ name = "{{ cookiecutter.author_name }}", email = "{{ cookiecutter.author_email }}" },
]
{% endif %}
{% endif -%}
dependencies = [
{{ cookiecutter._install_requires }}
]
Expand Down
7 changes: 3 additions & 4 deletions {{ cookiecutter.package_name }}/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
from extension_helpers import get_extensions
{% endif -%}

{%- if cookiecutter.use_compiled_extensions == 'y' %}
setup(

setup( {%- if cookiecutter.use_compiled_extensions == 'y' %}
ext_modules=get_extensions()
)
{% endif -%}
{% endif -%} )

0 comments on commit 683a99c

Please sign in to comment.