Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[metadata]
description_file = README.rst
description_file = README.md
10 changes: 3 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import os
import re

from setuptools import setup
from setuptools import find_packages, setup


def rel(*parts):
"""returns the relative path to a file wrt to the current directory"""
return os.path.abspath(os.path.join(os.path.dirname(__file__), *parts))


with open("README.md", "r") as handler:
with open(rel("README.md"), "r", encoding="utf-8") as handler:
README = handler.read()

with open(rel("webpack_loader", "__init__.py")) as handler:
Expand All @@ -20,11 +20,7 @@ def rel(*parts):

setup(
name="django-webpack-loader",
packages=[
"webpack_loader",
"webpack_loader/templatetags",
"webpack_loader/contrib",
],
packages=find_packages(),
version=VERSION,
license="MIT License",
description="Transparently use webpack with django",
Expand Down
Loading