Add more meta information to setup script

This commit is contained in:
Joakim Soderlund 2017-11-18 21:18:07 +01:00
parent a4675d1a9e
commit 93755f813d

View file

@ -28,10 +28,11 @@ from typing import Iterable, List, Tuple
from setuptools import setup from setuptools import setup
from fimfarchive import __version__ from fimfarchive import __author__, __license__, __version__
PACKAGE = 'fimfarchive' PACKAGE = 'fimfarchive'
GITHUB = 'https://github.com/JockeTF/fimfarchive'
def to_name(path: str) -> str: def to_name(path: str) -> str:
@ -76,6 +77,11 @@ def iter_package_data() -> Iterable[Tuple[str, List[str]]]:
setup( setup(
name="fimfarchive", name="fimfarchive",
version=__version__, version=__version__,
license=__license__,
author=__author__,
author_email='fimfarchive@gmail.com',
url='http://www.fimfarchive.net/',
download_url=f'{GITHUB}/archive/{__version__}.tar.gz',
packages=list(iter_package_names()), packages=list(iter_package_names()),
package_data=dict(iter_package_data()), package_data=dict(iter_package_data()),
) )