Skip to content

Commit

Permalink
update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadrezaAmani committed Aug 14, 2023
1 parent 1c114a0 commit e296242
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pipy_release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish INUI
name: Publish Python 🐍 distributions 📦 to PyPI

on:
push:
Expand All @@ -7,8 +7,8 @@ on:

jobs:
build-n-publish:
name: Publish INUI
runs-on: ubuntu-latest
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- name: Set up Python 3.10
Expand Down
46 changes: 43 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# setup.py
from setuptools import setup, find_packages
import codecs
import os

from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))

setup()
with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
long_description = "\n" + fh.read()

# This gets deployed when a new release is made by github actions
VERSION = '0.1.1'

# CHANGEME VARS
PACKAGE_NAME = "inui"
DESCRIPTION = ''
LONG_DESCRIPTION = 'Powerful and Highly Customizable Python Library for UI'
AUTHOR_NAME = "Mohammadreza Amani"
AUTHOR_EMAIL = "[email protected]"
PROJECT_URL = "https://github.com/MohammadrezaAmani/INUI/"
REQUIRED_PACKAGES = ['beautifulsoup4'] # required 3rd party tools used by your package
PROJECT_KEYWORDS = ['ui', 'python', 'html', 'framework','frontend','bootstrap']
# Read more about classifiers at
# https://pypi.org/classifiers/
CLASSIFIERS = [
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Operating System :: Unix",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows"]

setup(
name=PACKAGE_NAME,
version=VERSION,
author=AUTHOR_NAME,
author_email=AUTHOR_EMAIL,
description=DESCRIPTION,
url = PROJECT_URL,
long_description_content_type="text/markdown",
long_description=long_description,
packages=find_packages(),
install_requires=REQUIRED_PACKAGES,
keywords=PROJECT_KEYWORDS,
classifiers=CLASSIFIERS
)

0 comments on commit e296242

Please sign in to comment.