File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 15
15
16
16
licenses = {
17
17
'apache2' : ('Apache Software License 2.0' ,'OSI Approved :: Apache Software License' ),
18
+ 'mit' : ('MIT License' , 'OSI Approved :: MIT License' ),
19
+ 'gpl2' : ('GNU General Public License v2' , 'OSI Approved :: GNU General Public License v2 (GPLv2)' ),
20
+ 'gpl3' : ('GNU General Public License v3' , 'OSI Approved :: GNU General Public License v3 (GPLv3)' ),
21
+ 'bsd3' : ('BSD License' , 'OSI Approved :: BSD License' ),
18
22
}
19
23
statuses = [ '1 - Planning' , '2 - Pre-Alpha' , '3 - Alpha' ,
20
24
'4 - Beta' , '5 - Production/Stable' , '6 - Mature' , '7 - Inactive' ]
21
25
py_versions = '2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8' .split ()
22
26
23
27
requirements = cfg .get ('requirements' ,'' ).split ()
24
28
min_python = cfg ['min_python' ]
25
- lic = licenses .get (cfg ['license' ], (cfg ['license' ], None ))
29
+ lic = licenses .get (cfg ['license' ]. lower () , (cfg ['license' ], None ))
26
30
27
31
setuptools .setup (
28
32
name = cfg ['lib_name' ],
You can’t perform that action at this time.
0 commit comments