This repository was archived by the owner on Feb 15, 2024. It is now read-only.
forked from Quansight/qhub-jupyterhub-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modifications to make qhub_jupyterhub_theme a package
- Loading branch information
Showing
12 changed files
with
92 additions
and
1 deletion.
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,28 @@ | ||
name: "Release" | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
release: | ||
name: 'PyPi Release' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Checkout Infastructure' | ||
uses: actions/checkout@master | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
- name: Install twine | ||
run: | | ||
pip install twine | ||
- name: Build and Distribute | ||
env: | ||
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: | | ||
python setup.py sdist | ||
twine upload -u $PYPI_USERNAME -p $PYPI_PASSWORD dist/* |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
include README.md | ||
|
||
graft qhub_jupyterhub_theme |
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,6 @@ | ||
import os | ||
|
||
HERE = os.path.dirname(__file__) | ||
|
||
TEMPLATE_PATH = os.path.join(HERE, 'templates') | ||
STATIC_PATH = os.path.join(HERE, 'static') |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
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,48 @@ | ||
from setuptools import setup, find_packages | ||
import os | ||
|
||
here = os.path.abspath(os.path.dirname(__file__)) | ||
share_qhub_jupyterhub_theme = os.path.join(here, 'share', 'qhub_jupyterhub_theme') | ||
|
||
|
||
# Get the long description from the README file | ||
with open(os.path.join(here, "README.md"), encoding="utf-8") as f: | ||
long_description = f.read() | ||
|
||
|
||
setup( | ||
name="qhub_jupyterhub_theme", | ||
version='0.2.0', | ||
description="QHub jupyterhub theme", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/quansight/qhub_jupyterhub_theme", | ||
author="Quansight", | ||
classifiers=[ | ||
"Development Status :: 3 - Alpha", | ||
"Intended Audience :: Developers", | ||
"Topic :: Software Development :: Build Tools", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
], | ||
keywords="jupyterhub theme", | ||
packages=['qhub_jupyterhub_theme'], | ||
python_requires="!=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4", | ||
install_requires=[ | ||
"jupyterhub" | ||
], | ||
package_data={ | ||
'qhub_jupyterhub_theme': [ | ||
'templates/*', | ||
'custom/css/*', | ||
'custom/images/*' | ||
] | ||
}, | ||
include_package_data=True, | ||
project_urls={ | ||
"Bug Reports": "https://github.com/quansight/qhub_jupyterhub_theme", | ||
"Source": "https://github.com/quansight/qhub_jupyterhub_theme", | ||
}, | ||
) |