File tree Expand file tree Collapse file tree 4 files changed +9
-12
lines changed Expand file tree Collapse file tree 4 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## 0.1.1 — 2025-02-15  
9+ ### Removed  
10+ 
11+ -  [x]  remove "tests" (demo) functionality
12+ 
813## 0.1.0 — 2025-02-15  
914### Added  
1015
Original file line number Diff line number Diff line change 77
88setuptools .setup (
99    name = 'yoficator' ,
10-     version = '0.1.0 ' ,
10+     version = '0.1.1 ' ,
1111    description = 'A Russian text yoficator (ёфикатор)' ,
1212    long_description = long_description ,
1313    long_description_content_type = 'text/markdown' ,
1414    license = 'License :: OSI Approved :: MIT License' ,
1515    packages = ['yoficator' ],
1616    package_data = {
17-         'yoficator' : [
18-             '_data/yoficator.dic' ,
19-             '_data/yoficator.txt' ,
20-         ],
17+         'yoficator' : ['_data/yoficator.dic' ],
2118    },
2219    install_requires = ['regex==2015.11.09' ],
2320    include_package_data = True ,
Original file line number Diff line number Diff line change 6969pp  =  pprint .PrettyPrinter (4 ) 
7070
7171workingDir  =  os .path .abspath (os .path .dirname (__file__ )) +  '/_data' 
72- textFile  =  workingDir  +  "/yoficator.txt" 
7372dictionaryFile  =  workingDir  +  "/yoficator.dic" 
7473
7574if  len (sys .argv ) >  1 :
8079    else :
8180        text  =  sys .argv [1 ].decode ("utf-8" )
8281else :
83-     # We will assume using textFile as input filename above 
84-     text   =   codecs . open ( textFile ,  "r" ,  "utf-8" ). read ( )
82+     print ( 'Error: No file specified' ,  file = sys . stderr ) 
83+     sys . exit ( 1 )
8584
8685dictionary  =  {}
8786
  Load Diff This file was deleted. 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments