Angelo Gladding
lahacker.net

dlv5vbq7lzlthol5 4b942a3185b37d00

angelo@lahacker.net

South Pasadena, California, United States currently feels like 72.16°F

Home CodepkgFiles

setup.py

Download raw file

# [`pkg`][1]: tools for metamodern software packaging
# Copyright (c) 2018- @[Angelo Gladding][2]
#
# This program is free software: it is distributed in the hope that it
# will be useful, but *without any warranty*; without even the implied
# warranty of merchantability or fitness for a particular purpose. You
# can redistribute it and/or modify it under the terms of the @@[GNU's
# Not Unix][3] %[Affero General Public License][4] as published by the
# @@[Free Software Foundation][5], either version 3 of the License, or
# any later version.
#
# *[GNU]: GNU's Not Unix
#
# [1]: https://lahacker.net/code/pkg
# [2]: https://lahacker.net
# [3]: https://gnu.org
# [4]: https://gnu.org/licenses/agpl
# [5]: https://fsf.org

from setuptools import setup

from pkg.discover import discover
from pkg.install import add

requirements = ["keyring", "pyxdg", "wheel"]

add(*requirements)

setup(requires=requirements + ["pip"],
      provides={"distutils.setup_keywords": ["discover = pkg:auto_discover"],
                "setuptools.file_finders": ["git = pkg:get_repo_files"],
                "term.apps": ["pkg = pkg.__main__:main"]},
      **discover(__file__))