6
6
7
7
def load_version () -> str :
8
8
version : typing .Dict [str , str ] = {}
9
- with open (" src/easyconfig/__version__.py" ) as fp :
9
+ with open (' src/easyconfig/__version__.py' ) as fp :
10
10
exec (fp .read (), version )
11
11
assert version ['__version__' ], version
12
12
return version ['__version__' ]
@@ -26,44 +26,38 @@ def load_req() -> typing.List[str]:
26
26
readme = Path (__file__ ).with_name ('readme.md' )
27
27
long_description = ''
28
28
if readme .is_file ():
29
- with readme .open ("r" , encoding = 'utf-8' ) as fh :
29
+ with readme .open ('r' , encoding = 'utf-8' ) as fh :
30
30
long_description = fh .read ()
31
31
32
32
setup (
33
- name = " easyconfig" ,
33
+ name = ' easyconfig' ,
34
34
version = __version__ ,
35
- author = " spaceman_spiff" ,
35
+ author = ' spaceman_spiff' ,
36
36
# author_email="",
37
- description = "Easy application configuration with yaml files" ,
38
- keywords = [
39
- 'yaml' ,
40
- 'configuration' ,
41
- 'pydantic' ,
42
- 'settings' ,
43
- 'config'
44
- ],
37
+ description = 'Easy application configuration with yaml files' ,
38
+ keywords = ['yaml' , 'configuration' , 'pydantic' , 'settings' , 'config' ],
45
39
long_description = long_description ,
46
- long_description_content_type = " text/markdown" ,
47
- url = " https://github.com/spacemanspiff2007/easyconfig" ,
40
+ long_description_content_type = ' text/markdown' ,
41
+ url = ' https://github.com/spacemanspiff2007/easyconfig' ,
48
42
project_urls = {
49
43
'GitHub' : 'https://github.com/spacemanspiff2007/easyconfig' ,
50
44
},
51
45
package_dir = {'' : 'src' },
52
- package_data = {'easyconfig' : [" py.typed" ]},
46
+ package_data = {'easyconfig' : [' py.typed' ]},
53
47
packages = find_packages ('src' , exclude = ['tests*' ]),
54
48
install_requires = load_req (),
55
49
python_requires = '>=3.8' ,
56
50
classifiers = [
57
- " Development Status :: 4 - Beta" ,
58
- " Intended Audience :: Developers" ,
59
- " License :: OSI Approved :: Apache Software License" ,
60
- " Natural Language :: English" ,
61
- " Operating System :: OS Independent" ,
62
- " Programming Language :: Python :: 3.8" ,
63
- " Programming Language :: Python :: 3.9" ,
64
- " Programming Language :: Python :: 3.10" ,
65
- " Programming Language :: Python :: 3.11" ,
66
- " Programming Language :: Python :: 3 :: Only" ,
67
- " Topic :: Software Development :: Libraries"
51
+ ' Development Status :: 4 - Beta' ,
52
+ ' Intended Audience :: Developers' ,
53
+ ' License :: OSI Approved :: Apache Software License' ,
54
+ ' Natural Language :: English' ,
55
+ ' Operating System :: OS Independent' ,
56
+ ' Programming Language :: Python :: 3.8' ,
57
+ ' Programming Language :: Python :: 3.9' ,
58
+ ' Programming Language :: Python :: 3.10' ,
59
+ ' Programming Language :: Python :: 3.11' ,
60
+ ' Programming Language :: Python :: 3 :: Only' ,
61
+ ' Topic :: Software Development :: Libraries' ,
68
62
],
69
63
)
0 commit comments