summaryrefslogtreecommitdiffstats
path: root/debian/local/setup.py
blob: 5861fdd570daf13a10c664b80687e0eb29d68274 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# -*- coding: utf-8 -*-

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

import os.path

readme = ''
here = os.path.abspath(os.path.dirname(__file__))
readme_path = os.path.join(here, 'README.rst')
if os.path.exists(readme_path):
    with open(readme_path, 'rb') as stream:
        readme = stream.read().decode('utf8')

setup(
    long_description=readme,
    name='pendulum',
    version='2.1.2',
    description='Python datetimes made easy',
    python_requires='!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,<4.0,>=2.7',
    project_urls={
        "documentation": "https://pendulum.eustace.io/docs",
        "homepage": "https://pendulum.eustace.io",
        "repository": "https://github.com/sdispater/pendulum"
    },
    author='Sébastien Eustace',
    author_email='sebastien@eustace.io',
    license='MIT',
    keywords='datetime date time',
    packages=[
        'pendulum', 'pendulum._extensions', 'pendulum.formatting',
        'pendulum.locales', 'pendulum.locales.da', 'pendulum.locales.de',
        'pendulum.locales.en', 'pendulum.locales.es', 'pendulum.locales.fa',
        'pendulum.locales.fo', 'pendulum.locales.fr', 'pendulum.locales.id',
        'pendulum.locales.it', 'pendulum.locales.ko', 'pendulum.locales.lt',
        'pendulum.locales.nb', 'pendulum.locales.nl', 'pendulum.locales.nn',
        'pendulum.locales.pl', 'pendulum.locales.pt_br', 'pendulum.locales.ru',
        'pendulum.locales.zh', 'pendulum.mixins', 'pendulum.parsing',
        'pendulum.parsing.exceptions', 'pendulum.tz', 'pendulum.tz.data',
        'pendulum.tz.zoneinfo', 'pendulum.utils'
    ],
    package_dir={"": "."},
    package_data={
        "pendulum": ["*.typed"],
        "pendulum._extensions": ["*.c"],
        "pendulum.parsing": ["*.c"]
    },
    install_requires=[
        'python-dateutil==2.*,>=2.6.0', 'pytzdata>=2020.1',
        'typing==3.*,>=3.6.0; python_version < "3.5"'
    ],
    extras_require={
        "dev": [
            "babel==2.*,>=2.5.0", "black==19.*,>=19.3.0.b0",
            "cleo==0.*,>=0.8.1", "freezegun==0.*,>=0.3.15",
            "isort==4.*,>=4.3.21", "markdown-include==0.*,>=0.5.1",
            "mkdocs==1.*,>=1.0.0; python_version == \"3.*\" and python_version >= \"3.5.0\"",
            "pre-commit==1.*,>=1.10.0", "pygments==2.*,>=2.2.0",
            "pymdown-extensions==6.*,>=6.0.0", "pytest==4.*,>=4.6.0",
            "pytest-cov==2.*,>=2.5.0", "pytz>=2018.3", "tox==3.*,>=3.0.0"
        ]
    },
)