Permalink
Browse files

Fix setup.py for easy_install

  • Loading branch information...
1 parent c9c7950 commit 9624410c91ac5188d06936e97aed8aac9df4bf80 @byroot committed Apr 1, 2013
Showing with 5 additions and 6 deletions.
  1. +1 −3 pysrt/__init__.py
  2. +2 −0 pysrt/version.py
  3. +2 −3 setup.py
View
@@ -2,6 +2,4 @@
from pysrt.srtitem import SubRipItem
from pysrt.srtfile import SubRipFile
from pysrt.srtexc import Error, InvalidItem, InvalidTimeString
-
-VERSION = (0, 4, 4)
-VERSION_STRING = '.'.join(str(i) for i in VERSION)
+from pysrt.version import VERSION, VERSION_STRING
View
@@ -0,0 +1,2 @@
+VERSION = (0, 4, 4)
+VERSION_STRING = '.'.join(str(i) for i in VERSION)
View
@@ -2,10 +2,9 @@
# -*- coding: utf-8 -*-
import os
import sys
-import pysrt
+from pysrt.version import VERSION_STRING
from setuptools import setup, find_packages
-
README = ''
try:
f = open('README.rst')
@@ -17,7 +16,7 @@
REQUIRES = ['chardet2']
setup(name='pysrt3',
- version=pysrt.VERSION_STRING,
+ version=pysrt,
author='Jean Boussier',
author_email='jean.boussier@gmail.com',
packages=find_packages(),

0 comments on commit 9624410

Please sign in to comment.