Skip to content

Commit

Permalink
fix: package dependencies for dirmaker
Browse files Browse the repository at this point in the history
Adds `requirements.txt` for external dependencies required
by `dirmaker`.
Modifies `setup.py` to read the list of dependencies from the
above file.
Bumps version to 0.1.1
  • Loading branch information
mr-karan committed Feb 26, 2021
1 parent a0ead4d commit 05d4ac4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
jinja2
PyYAML

10 changes: 8 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,23 @@

README = open("README.md").read()

def requirements():
with open('requirements.txt') as f:
return f.read().splitlines()



setup(
name="dirmaker",
version="0.1.0",
version="0.1.1",
description="A simple static site generator for generating directory websites.",
long_description=README,
long_description_content_type="text/markdown",
author="Kailash Nadh",
author_email="[email protected]",
url="https://github.com/knadh/dirmaker",
packages=['dirmaker'],
install_requires=requirements(),
include_package_data=True,
download_url="https://github.com/knadh/dirmaker",
license="MIT License",
Expand All @@ -27,5 +34,4 @@
"Topic :: Internet :: WWW/HTTP :: Site Management",
"Topic :: Documentation"
],
install_required=["jinja2"],
)

0 comments on commit 05d4ac4

Please sign in to comment.