Skip to content

Commit

Permalink
初始化1
Browse files Browse the repository at this point in the history
  • Loading branch information
harryhan1989 committed Apr 15, 2022
1 parent 9cef8b2 commit 3563ad1
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 7 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
logs/
.eggs
.eggs/*
pytdxext.egg-info
pytdxext.egg-info/*
dist
dist/*
build
build/*
__debug_bin
7 changes: 7 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# 更新历史
==============

1.1.0 (2022-04-15)
------------------

* 第一次发布到 PyPI.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ pytdx由于原项目的作者不再维护了,考虑到自己需要使用该项
# mootdx
是基于pytdx的应用扩展
原项目地址: https://github.com/rainx/pytdx


2 changes: 0 additions & 2 deletions requirement.txt → requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
click
pandas
six
cryptography
pylint
Expand Down
19 changes: 14 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@


#!/usr/bin/env python
"""The setup script."""

from setuptools import setup, find_packages
import os

try:
from setuptools import find_packages, setup
Expand All @@ -12,11 +16,16 @@ def parse_requirements(filename):
return [line for line in line_iter if line and not line.startswith('#')]


with open('README.rst', encoding='utf-8') as readme_file:
readme = readme_file.read()
try:
import pypandoc
readme = pypandoc.convert('README.md', 'rst')
history = pypandoc.convert('HISTORY.md', 'rst')
except (IOError, ImportError):
print(30 * "*")
print("Notice, NEED TO INSTALL *pypandoc* TO get full description of package")
print(30 * "*")
long_description = ''

with open('HISTORY.rst', encoding='utf-8') as history_file:
history = history_file.read()

requirements = parse_requirements('requirements.txt')
test_requirements = requirements
Expand Down

0 comments on commit 3563ad1

Please sign in to comment.