Skip to content

Commit

Permalink
Package templates dir
Browse files Browse the repository at this point in the history
  • Loading branch information
stevelacey committed Dec 15, 2021
1 parent 1638bd0 commit cdb06c9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
7 changes: 7 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
include CHANGELOG.md
include LICENSE.md
include README.md
recursive-include tests/ *
recursive-include worf/templates *.html
global-exclude __pycache__
global-exclude *.py[co]
23 changes: 11 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os

from setuptools import setup, find_packages


Expand All @@ -21,11 +22,17 @@ def get_version(rel_path):
raise RuntimeError("Unable to find version string.")


long_description = read("README.md")

setup(
name="worf",
version=get_version("worf/__init__.py"),
url="https://github.com/gundotio/worf",
description="Wade's own REST Framework: A more Djangonic approach to REST APIs",
long_description=read("README.md"),
long_description_content_type="text/markdown",
author_email="[email protected]",
author="Wade Williams",
keywords="django, rest, framework, api",
license="MIT",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
Expand All @@ -41,21 +48,13 @@ def get_version(rel_path):
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
],
description="Worf (Wade's Own Rest Framework): A more Djangonic approach to REST APIs",
include_package_data=True,
install_requires=[
"Django>=3.0.0,<3.3",
"django-url-filter>=0.3.15",
"marshmallow>=3.14.0",
],
include_package_data=True,
keywords="django, rest, framework, api",
license="MIT",
long_description=long_description,
long_description_content_type="text/markdown",
name="worf",
packages=find_packages(),
packages=find_packages(exclude=["tests*"]),
python_requires=">=3.7",
url="https://github.com/gundotio/worf",
version=get_version("worf/__init__.py"),
zip_safe=False,
)

0 comments on commit cdb06c9

Please sign in to comment.