File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 5
5
find . | grep .pyc | xargs rm -f
6
6
7
7
install :
8
- python3 setup.py install
8
+ pip install .
9
9
10
10
publish :
11
11
pip install ' twine>=1.5.0'
12
12
python setup.py sdist bdist_wheel
13
- twine upload dist/*
13
+ twine upload dist/* .whl dist/ * .tar.gz
14
14
rm -fr build .egg requests.egg-info
Original file line number Diff line number Diff line change 1
1
requests
2
2
click
3
- prettytable
3
+ prettytable
4
+ fake_useragent
Original file line number Diff line number Diff line change 35
35
license = about ["__license__" ],
36
36
long_description = long_description ,
37
37
long_description_content_type = "text/markdown" ,
38
- packages = setuptools .find_packages (),
38
+ packages = setuptools .find_namespace_packages (),
39
39
# package_data={'x12306': ['data']},
40
40
include_package_data = True ,
41
41
test_suite = "tests" ,
Original file line number Diff line number Diff line change 9
9
__title__ = "x12306"
10
10
__description__ = ("12306查票助手,一键查询沿途所有站点,先上车后补票,让你的出行更省心。" )
11
11
__url__ = "https://github.com/0xHJK/x12306"
12
- __version__ = "0.3.0 "
12
+ __version__ = "0.3.2 "
13
13
__author__ = "HJK"
14
14
__author_email__ = "[email protected] "
15
15
__license__ = "MIT License"
You can’t perform that action at this time.
0 commit comments