Skip to content

Commit

Permalink
Merge pull request #8 from delestro/better_pypi_setup
Browse files Browse the repository at this point in the history
emoji and setup fixes
  • Loading branch information
delestro authored Dec 28, 2021
2 parents 213501e + 946f3a0 commit 458a7df
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
outputformater.egg-info/
outputformater/__pycache__
dist/
2 changes: 1 addition & 1 deletion outputformater/emoji.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
thumbs_up = "\U0001F44D"
check = "\U00002705"
clap = "\U0001F44F"
warning = "\U000026A0"
bomb = "\U0001F4A3"
25 changes: 15 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
from setuptools import setup


with open("README.md") as f:
readme = f.read()

with open("LICENSE") as f:
license = f.read()
long_description = "It is recommended to use ouf as shortcut for outputformater import outputformater as ouf\n"
long_description += "Main functions are:\n"
long_description += "* ouf.boxtitle\n"
long_description += "* ouf.linetitle\n"
long_description += "* ouf.bigtitle\n"
long_description += "* ouf.showlist\n"
long_description += "* ouf.bar\n"
long_description += "* ouf.barlist\n"
long_description += "By default, functions print the result\n."
long_description += "You have the alternative to return a string instead, by passing the argument return_str=True\n"
long_description += "(nothing will be printed in this case)."

setup(
name="outputformater",
packages=["outputformater"],
version="0.1.0",
version="0.1.1",
description="Decorate and beautify output",
long_description=readme,
long_description=long_description,
author="Felipe Delestro",
author_email="delestro@gmail.com",
url="https://github.com/delestro/outputformater",
download_url="https://github.com/delestro/outputformater/archive/refs/tags/v0.1.0.tar.gz",
license=license,
download_url="https://github.com/delestro/outputformater/archive/refs/tags/v0.1.1.tar.gz",
license="MIT",
keywords=["output", "print", "decorate", "format", "string", "beautify"],
python_requires=">=3.6",
)

0 comments on commit 458a7df

Please sign in to comment.