This repository was archived by the owner on Nov 13, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 33from __future__ import unicode_literals
44
55from datetime import datetime
6- import settings
7- from FindFirstDayofSemester import get_semester_start_date
8- from GenerateICS import create_ics , export_ics
9- from Lesson import Lesson
6+ from . import settings
7+ from . FindFirstDayofSemester import get_semester_start_date
8+ from . GenerateICS import create_ics , export_ics
9+ from . Lesson import Lesson
1010from lxml import etree
1111from zeep import Client
1212from builtins import input
@@ -35,7 +35,7 @@ def main():
3535 print ('学号: 你的南京航空航天大学学号' )
3636 print ("-------- 请填写以下信息 --------" )
3737
38- xn = input ('学年: ' . encode ( 'utf-8' ) )
38+ xn = input ('学年: ' )
3939
4040 if '-' in xn :
4141
@@ -48,11 +48,11 @@ def main():
4848 else :
4949
5050 if not settings .DEBUG :
51- xq = input ('学期: ' . encode ( 'utf-8' ) )
51+ xq = input ('学期: ' )
5252 if not (xq == '1' or xq == '2' ):
5353 print ("学期输入错误! 提示:1为上学期,2为下学期!" )
5454 exit ()
55- xh = input ('学号: ' . encode ( 'utf-8' ) )
55+ xh = input ('学号: ' )
5656 print ("==================================================" )
5757
5858 semester_start_date = get_semester_start_date (years , xq , client )
Original file line number Diff line number Diff line change 99 long_description = f .read ()
1010setup (
1111 name = 'NUAAiCal' ,
12- version = '0.4.0 ' ,
12+ version = '0.4.1 ' ,
1313 description = 'Generate NUAA curriculum to iCalendar file.' ,
1414 url = 'https://github.com/Triple-Z/NUAA-iCal-Python' ,
1515 author = 'TripleZ' ,
2020 # 3 - Alpha
2121 # 4 - Beta
2222 # 5 - Production/Stable
23- 'Development Status :: 3 - Alpha ' ,
23+ 'Development Status :: 4 - Beta ' ,
2424 'Intended Audience :: Developers' ,
2525 'License :: OSI Approved :: MIT License' ,
2626 # 'Programming Language :: Python :: 2',
3232 'Programming Language :: Python :: 3.6' ,
3333 ],
3434 keywords = 'NUAA iCalendar ics curriculum iCal schedule calendar' ,
35- packages = find_packages (),
35+ packages = find_packages (exclude = [ 'contrib' , 'docs' , 'tests*' ] ),
3636 entry_points = {
3737 'console_scripts' : [
3838 'nuaaical=NUAAiCal.main:main' ,
You can’t perform that action at this time.
0 commit comments