diff --git a/.github/workflows/pipy_release.yml b/.github/workflows/pipy_release.yml index 56e7215..7a77ad3 100644 --- a/.github/workflows/pipy_release.yml +++ b/.github/workflows/pipy_release.yml @@ -1,4 +1,4 @@ -name: Publish INUI +name: Publish Python 🐍 distributions 📦 to PyPI on: push: @@ -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 diff --git a/setup.py b/setup.py index e546293..7999476 100644 --- a/setup.py +++ b/setup.py @@ -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() \ No newline at end of file +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 = "more.amani@yahoo.com" +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 +) \ No newline at end of file