Source code for info
'''
.. topic:: The *info* file
The *info* file is not vital to Photon, it just helps to share common
values between documentation and the package builder (*setup* file).
'''
[docs]def pkg_name():
'''
:returns: The package name (on pypi)
'''
return 'photon_core'
[docs]def version():
'''
:returns: Current version string
:current: |version| (Release: |release|)
'''
return '0.5'
[docs]def release():
'''
:returns: Current release string
:current: |release|
'''
return version() + 'a4'
[docs]def url():
'''
:returns: The repo url (on github)
'''
return 'https://github.com/spookey/photon/'
[docs]def contributors():
'''
:returns: A list of all contributors
'''
return [
'...',
'& Frieder Griesshammer'
]
[docs]def author():
''':returns: The main author (last entry of :meth:`contributors`)'''
return contributors()[-1].replace('& ', '')
[docs]def email():
''':returns: Main :meth:`author`'s mail'''
return 'frieder.griesshammer@der-beweis.de'
[docs]def contributors_str():
''':returns: The :meth:`contributors` as comma joined string'''
return ', '.join(contributors()).replace('..., &', '').replace(', &', ' &')