-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #112 from napse-invest/dev
Dev
- Loading branch information
Showing
4 changed files
with
49 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Pypi | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
pypi-release: | ||
name: Pypi release | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: pypi | ||
url: https://pypi.org/p/djang-napse | ||
permissions: | ||
id-token: write | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11 | ||
|
||
- name: Install pypa/build | ||
run: >- | ||
python3 -m | ||
pip install | ||
build | ||
--user | ||
- name: Build a binary wheel and a source tarball | ||
run: >- | ||
python3 -m | ||
build | ||
--sdist | ||
--wheel | ||
--outdir dist/ | ||
- name: Publish package distributions to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[metadata] | ||
description-file = README.md | ||
description_file = README.md | ||
long_description_content_type = text/markdown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
from distutils.core import setup | ||
|
||
# from setuptools import setup | ||
|
||
setup( | ||
name="django-napse", # How you named your package folder (MyLib) | ||
packages=["django-napse"], # Chose the same as "name" | ||
packages=["django_napse"], # Chose the same as "name" | ||
version="1.4.0", # Start with a small number and increase it with every change you make | ||
license="MIT", # Chose a license from here: https://help.github.com/articles/licensing-a-repository | ||
description="The heart and brains of the Napse Invest platform.", # Give a short description about your library | ||
long_description="The heart and brains of the Napse Invest platform.", | ||
author="Napse Invest", # Type in your name | ||
author_email="[email protected]", # Type in your E-Mail | ||
url="https://github.com/napse-invest/django-napse", # Provide either the link to your github or to your website | ||
download_url="https://github.com/napse-invest/django-napse/archive/v_01.tar.gz", # I explain this later on | ||
download_url="https://github.com/napse-invest/django-napse/archive/refs/tags/v1.4.0.tar.gz", | ||
keywords=["Investing", "Django", "Trading"], # Keywords that define your package best | ||
install_requires=[ # I get to this in a second | ||
install_requires=[ | ||
"django", | ||
"django-environ", | ||
"django-celery-beat", | ||
|