|
|
@ -3,6 +3,7 @@ |
|
|
|
# $Id$ |
|
|
|
# $Id$ |
|
|
|
|
|
|
|
|
|
|
|
import os |
|
|
|
import os |
|
|
|
|
|
|
|
import sys |
|
|
|
from setuptools import find_packages |
|
|
|
from setuptools import find_packages |
|
|
|
|
|
|
|
|
|
|
|
from distutils.cmd import Command |
|
|
|
from distutils.cmd import Command |
|
|
@ -15,6 +16,11 @@ class DisabledTestCommand(Command): |
|
|
|
_this_dir = os.path.dirname(__file__) |
|
|
|
_this_dir = os.path.dirname(__file__) |
|
|
|
_long_description = open('readme.txt').read().strip() |
|
|
|
_long_description = open('readme.txt').read().strip() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# it seems that dateutil 2.0 only works under Python 3 |
|
|
|
|
|
|
|
dateutil_req = ( |
|
|
|
|
|
|
|
['python-dateutil>=1.4,<2.0dev'] if sys.version < (3,0) |
|
|
|
|
|
|
|
else ['python-dateutil>=2.0'] ) |
|
|
|
|
|
|
|
|
|
|
|
setup_params = dict( |
|
|
|
setup_params = dict( |
|
|
|
name = "svg.charts", |
|
|
|
name = "svg.charts", |
|
|
|
version = "2.0.6", |
|
|
|
version = "2.0.6", |
|
|
@ -28,10 +34,9 @@ setup_params = dict( |
|
|
|
namespace_packages=['svg'], |
|
|
|
namespace_packages=['svg'], |
|
|
|
include_package_data = True, |
|
|
|
include_package_data = True, |
|
|
|
install_requires=[ |
|
|
|
install_requires=[ |
|
|
|
'python-dateutil>=1.4', |
|
|
|
|
|
|
|
'cssutils>=0.9.6b3', |
|
|
|
'cssutils>=0.9.6b3', |
|
|
|
'lxml>=2.0', |
|
|
|
'lxml>=2.0', |
|
|
|
], |
|
|
|
] + dateutil_req, |
|
|
|
license = "MIT", |
|
|
|
license = "MIT", |
|
|
|
classifiers = [ |
|
|
|
classifiers = [ |
|
|
|
"Development Status :: 5 - Production/Stable", |
|
|
|
"Development Status :: 5 - Production/Stable", |
|
|
|