@@ -45,6 +45,7 @@ def get_version():
4545 ['pendulum/_extensions/_helpers.c' ]),
4646 ]
4747
48+
4849class BuildFailed (Exception ):
4950
5051 pass
@@ -66,6 +67,7 @@ def build_extension(self, ext):
6667 DistutilsPlatformError , ValueError ):
6768 raise BuildFailed ()
6869
70+
6971packages = ['pendulum' ]
7072for pkg in find_packages ('pendulum' ):
7173 packages .append ('pendulum.' + pkg )
@@ -82,13 +84,16 @@ def build_extension(self, ext):
8284 download_url = 'https://github.com/sdispater/pendulum/archive/%s.tar.gz' % __version__ ,
8385 packages = packages ,
8486 install_requires = [
85- 'tzlocal' ,
86- 'python-dateutil' ,
87- 'pytzdata' ,
87+ 'tzlocal>=1.5.0,<2.0.0 ' ,
88+ 'python-dateutil>=2.6.0,<3.0.0 ' ,
89+ 'pytzdata>=2018.3 ' ,
8890 ],
8991 include_package_data = True ,
90- tests_require = ['pytest' ],
91- test_suite = 'nose.collector' ,
92+ tests_require = [
93+ 'pytest>=3.4.0,<4.0.0' ,
94+ 'pytest-cov>=2.4.0,<3.0.0' ,
95+ 'pytz>=2018.3' ,
96+ ],
9297 classifiers = [
9398 'Intended Audience :: Developers' ,
9499 'Operating System :: OS Independent' ,
0 commit comments