Browse Source

Made dateutil a runtime dependency (even though setup still requires it).

pull/8/head
jaraco 17 years ago
parent
commit
02a41f9561
  1. 3
      lib/SVG/TimeSeries.py
  2. 2
      lib/SVG/__init__.py
  3. 2
      setup.py

3
lib/SVG/TimeSeries.py

@ -1,7 +1,8 @@
#!/usr/bin/env python
import SVG
import re
#requires python date-util from http://labix.org/python-dateutil
import pkg_resources
pkg_resources.require("dateutil>=1.1")
from dateutil.parser import parse
from dateutil.relativedelta import relativedelta
from time import mktime

2
lib/SVG/__init__.py

@ -724,5 +724,3 @@ class class_dict( object ):
def keys( self ):
# dir returns a good guess of what attributes might be available
return dir( self.__obj__ )
import Plot, TimeSeries

2
setup.py

@ -15,7 +15,7 @@ setup(name = "svg-chart",
packages = find_packages('lib'),
package_dir = {'':'lib'},
install_requires=[
# nothing right now
'dateutil>=1.1',
],
license = "MIT",
long_description = """\

Loading…
Cancel
Save