Skip to content

Commit

Permalink
Added the code to make a pretty pypi frontpage.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldemarmiesse committed Dec 2, 2020
1 parent 7c78f40 commit 6eb00d3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
global-include *README.md
global-include *.txt
global-include *.md
15 changes: 13 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,22 @@

from setuptools import find_packages, setup

CURRENT_DIR = Path(__file__).parent


def get_long_description() -> str:
return (CURRENT_DIR / "README.md").read_text(encoding="utf8")


setup(
name="python-on-whales",
version=0.1,
install_requires=Path("requirements.txt").read_text().splitlines(),
version="0.2.0",
long_description=get_long_description(),
long_description_content_type="text/markdown",
install_requires=(CURRENT_DIR / "requirements.txt").read_text().splitlines(),
packages=find_packages(),
include_package_data=True, # will read the MANIFEST.in
license="MIT",
entry_points={
"console_scripts": [
"python-on-whales=python_on_whales.command_line_entrypoint:main"
Expand Down

0 comments on commit 6eb00d3

Please sign in to comment.