1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
From 37fed2e7c3e8bc2a924163d31761f73876b092bb Mon Sep 17 00:00:00 2001
From: "Daniel M. Capella" <polyzen@users.noreply.github.com>
Date: Wed, 21 Sep 2022 04:05:45 +0000
Subject: [PATCH] Move tzlocal to extras_require
It has been optional since https://github.com/PiotrDabkowski/Js2Py/commit/9cb5a1388d6bed7117c516a33001f188186d7313
---
setup.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index d195a173..b92a58cb 100644
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,8 @@
'js2py.constructors', 'js2py.host', 'js2py.es6', 'js2py.internals',
'js2py.internals.prototypes', 'js2py.internals.constructors', 'js2py.py_node_modules'],
url='https://github.com/PiotrDabkowski/Js2Py',
- install_requires = ['tzlocal>=1.2', 'six>=1.10', 'pyjsparser>=2.5.1'],
+ install_requires = ['six>=1.10', 'pyjsparser>=2.5.1'],
+ extras_require ={"localzone": ['tzlocal>=1.2']},
license='MIT',
author='Piotr Dabkowski',
author_email='piodrus@gmail.com',
|