Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix setup.py for easy_install

  • Loading branch information...
commit 89e76cef99aec649477c706f4374ea88e595d4bf 1 parent 72723eb
@byroot authored
Showing with 5 additions and 5 deletions.
  1. +1 −3 pysrt/__init__.py
  2. +2 −0  pysrt/version.py
  3. +2 −2 setup.py
View
4 pysrt/__init__.py
@@ -2,6 +2,4 @@
from pysrt.srtitem import SubRipItem
from pysrt.srtfile import SubRipFile, SUPPORT_UTF_32_LE, SUPPORT_UTF_32_BE
from pysrt.srtexc import Error, InvalidItem, InvalidTimeString
-
-VERSION = (0, 4, 5)
-VERSION_STRING = '.'.join(str(i) for i in VERSION)
+from pysrt.version import VERSION, VERSION_STRING
View
2  pysrt/version.py
@@ -0,0 +1,2 @@
+VERSION = (0, 4, 5)
+VERSION_STRING = '.'.join(str(i) for i in VERSION)
View
4 setup.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
import os
import sys
-import pysrt
+from pysrt.version import VERSION_STRING
from setuptools import setup, find_packages
@@ -24,7 +24,7 @@
REQUIRES.append('argparse')
setup(name='pysrt',
- version=pysrt.VERSION_STRING,
+ version=VERSION_STRING,
author='Jean Boussier',
author_email='jean.boussier@gmail.com',
packages=find_packages(),
Please sign in to comment.
Something went wrong with that request. Please try again.