1414__author__ = 'Leif Johansson'
1515__version__ = '2.0.0'
1616
17+
1718def load_requirements (path : PurePath ) -> List [str ]:
1819 """ Load dependencies from a requirements.txt style file, ignoring comments etc. """
1920 res = []
@@ -27,6 +28,7 @@ def load_requirements(path: PurePath) -> List[str]:
2728 res += [line ]
2829 return res
2930
31+
3032here = PurePath (__file__ )
3133README = open (here .with_name ('README.rst' )).read ()
3234NEWS = open (here .with_name ('NEWS.txt' )).read ()
@@ -36,45 +38,35 @@ def load_requirements(path: PurePath) -> List[str]:
3638
3739python_implementation_str = python_implementation ()
3840
39- setup (name = 'pyFF' ,
40- version = __version__ ,
41- description = "Federation Feeder" ,
42- long_description = README + '\n \n ' + NEWS ,
43- classifiers = [
44- # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
45- 'Programming Language :: Python :: 3' ,
46- 'Programming Language :: Python :: 3.7' ,
47- 'Programming Language :: Python :: 3.8' ,
48- ],
49- keywords = 'identity federation saml metadata' ,
50- author = __author__ ,
51- author_email = 'leifj@sunet.se' ,
52- url = 'https://pyff.io' ,
53- license = 'BSD' ,
54- setup_requires = ['nose>=1.0' ],
55- tests_require = tests_require ,
56- test_suite = "nose.collector" ,
57- packages = find_packages ('src' ),
58- package_dir = {'' : 'src' },
59- include_package_data = True ,
60- package_data = {
61- 'pyff' : ['xslt/*.xsl' , 'schema/*.xsd' ]
62- },
63- zip_safe = False ,
64- install_requires = install_requires ,
65- scripts = ['scripts/mirror-mdq.sh' ],
66- entry_points = {
67- 'console_scripts' : ['pyff=pyff.md:main' , 'pyffd=pyff.mdq:main' , 'samldiff=pyff.tools:difftool' ],
68- 'paste.app_factory' : [
69- 'pyffapp=pyff.wsgi:app_factory'
70- ],
71- 'paste.server_runner' : [
72- 'pyffs=pyff.wsgi:server_runner'
73- ],
74- },
75- message_extractors = {'src' : [
76- ('**.py' , 'python' , None ),
77- ('**/templates/**.html' , 'mako' , None ),
78- ]},
79- python_requires = '>=3.7' ,
80- )
41+ setup (
42+ name = 'pyFF' ,
43+ version = __version__ ,
44+ description = "Federation Feeder" ,
45+ long_description = README + '\n \n ' + NEWS ,
46+ classifiers = [
47+ # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
48+ 'Programming Language :: Python :: 3' ,
49+ 'Programming Language :: Python :: 3.7' ,
50+ 'Programming Language :: Python :: 3.8' ,
51+ ],
52+ keywords = 'identity federation saml metadata' ,
53+ author = __author__ ,
54+ author_email = 'leifj@sunet.se' ,
55+ url = 'https://pyff.io' ,
56+ license = 'BSD' ,
57+ tests_require = tests_require ,
58+ packages = find_packages ('src' ),
59+ package_dir = {'' : 'src' },
60+ include_package_data = True ,
61+ package_data = {'pyff' : ['xslt/*.xsl' , 'schema/*.xsd' ]},
62+ zip_safe = False ,
63+ install_requires = install_requires ,
64+ scripts = ['scripts/mirror-mdq.sh' ],
65+ entry_points = {
66+ 'console_scripts' : ['pyff=pyff.md:main' , 'pyffd=pyff.mdq:main' , 'samldiff=pyff.tools:difftool' ],
67+ 'paste.app_factory' : ['pyffapp=pyff.wsgi:app_factory' ],
68+ 'paste.server_runner' : ['pyffs=pyff.wsgi:server_runner' ],
69+ },
70+ message_extractors = {'src' : [('**.py' , 'python' , None ), ('**/templates/**.html' , 'mako' , None ),]},
71+ python_requires = '>=3.7' ,
72+ )
0 commit comments