forked from rsheftel/pandas_market_calendars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
78 lines (64 loc) · 2.24 KB
/
setup.py
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
66
67
68
69
70
71
72
73
74
75
76
77
78
"""
A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
"""
from os import path
from setuptools import find_packages, setup
# version
VERSION = '3.4'
# requirements
REQUIRED_PYTHON = '>=3.7.0'
REQUIRED_PACKAGES = ['pandas>=1.1', 'pytz', 'python-dateutil', 'exchange_calendars>=3.3']
# Package meta-data
NAME = 'pandas_market_calendars'
DESCRIPTION = 'Market and exchange trading calendars for pandas'
SOURCE_URL = 'https://github.com/rsheftel/pandas_market_calendars'
DOCS_URL = 'https://pandas-market-calendars.readthedocs.io/en/latest/'
AUTHOR = 'Ryan Sheftel'
EMAIL = '[email protected]'
LICENSE = 'MIT'
# ----- items below do not generally change ------- #
# Get the long description from the README file
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
# meta data
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type='text/x-rst',
url=SOURCE_URL,
author=AUTHOR,
author_email=EMAIL,
license=LICENSE,
project_urls={
'Documentation': DOCS_URL,
'Source': SOURCE_URL,
},
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here.
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
# What does your project relate to?
keywords='trading exchanges markets OTC datetime holiday business days',
# requirements
packages=find_packages(exclude=['docs', 'examples', 'tests']),
python_requires=REQUIRED_PYTHON,
install_requires=REQUIRED_PACKAGES,
tests_require=['pytest'],
)