Skip to content

Commit 6598801

Browse files
committed
setup
1 parent 10fe245 commit 6598801

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ clean:
55
find . | grep .pyc | xargs rm -f
66

77
install:
8-
python3 setup.py install
8+
pip install .
99

1010
publish:
1111
pip install 'twine>=1.5.0'
1212
python setup.py sdist bdist_wheel
13-
twine upload dist/*
13+
twine upload dist/*.whl dist/*.tar.gz
1414
rm -fr build .egg requests.egg-info

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
requests
22
click
3-
prettytable
3+
prettytable
4+
fake_useragent

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
license=about["__license__"],
3636
long_description=long_description,
3737
long_description_content_type="text/markdown",
38-
packages=setuptools.find_packages(),
38+
packages=setuptools.find_namespace_packages(),
3939
# package_data={'x12306': ['data']},
4040
include_package_data=True,
4141
test_suite="tests",

x12306/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
__title__ = "x12306"
1010
__description__ = ("12306查票助手,一键查询沿途所有站点,先上车后补票,让你的出行更省心。")
1111
__url__ = "https://github.com/0xHJK/x12306"
12-
__version__ = "0.3.0"
12+
__version__ = "0.3.2"
1313
__author__ = "HJK"
1414
__author_email__ = "[email protected]"
1515
__license__ = "MIT License"

0 commit comments

Comments
 (0)