diff --git a/htmlmin/__init__.py b/htmlmin/__init__.py index a7c25df..5023596 100644 --- a/htmlmin/__init__.py +++ b/htmlmin/__init__.py @@ -27,4 +27,4 @@ from .main import minify, Minifier -__version__ = '0.1.3' +__version__ = '0.1.4' diff --git a/setup.py b/setup.py index 642338f..6ce98d4 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,12 @@ +import os from setuptools import setup, find_packages + from htmlmin import __version__ -README = open('README.rst').read() -LICENSE = open('LICENSE').read() +here = os.path.dirname(__file__) + +README = open(os.path.join(here, 'README.rst')).read() +LICENSE = open(os.path.join(here, 'LICENSE')).read() setup( name='htmlmin',