-
Notifications
You must be signed in to change notification settings - Fork 80
/
setup.py
37 lines (33 loc) · 1.15 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
from setuptools import setup, find_packages
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name="cn-stock-holidays",
version="1.12",
packages=find_packages(),
install_requires=[
'requests'
],
# metadata for upload to PyPI
author="rainx",
author_email="[email protected]",
description="A List of china stock exchange holidays",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
keywords="china stock holiday exchange shanghai, shenzhen and hongkong",
url="https://github.com/rainx/cn_stock_holidays.git", # project home page, if any
package_data={
# If any package contains *.txt or *.rst files, include them:
'': ['*.txt'],
},
entry_points={
'console_scripts': [
'cn-stock-holiday-sync=cn_stock_holidays.data:sync_data',
'cn-stock-holiday-sync-hk=cn_stock_holidays.data_hk:sync_data',
'get-day-list=cn_stock_holidays.tools.cmd:main',
]
}
)