Skip to content
Browse files

change way that README is read in

  • Loading branch information...
1 parent 6beb06f commit 4cd9939bb1b27a0ef8754ac6380c6d06d38f8d5f @mankyd committed Feb 20, 2013
Showing with 7 additions and 3 deletions.
  1. +1 −1 htmlmin/__init__.py
  2. +6 −2 setup.py
View
2 htmlmin/__init__.py
@@ -27,4 +27,4 @@
from .main import minify, Minifier
-__version__ = '0.1.3'
+__version__ = '0.1.4'
View
8 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',

0 comments on commit 4cd9939

Please sign in to comment.
Something went wrong with that request. Please try again.