-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathsetup.py
60 lines (51 loc) · 1.61 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import sys
from setuptools import setup
from setuptools.command.bdist_egg import bdist_egg
class bdist_egg_disabled(bdist_egg):
"""Disabled version of bdist_egg
Prevents setup.py install from performing setuptools' default easy_install,
which it should never ever do.
"""
def run(self):
sys.exit(
"Aborting implicit building of eggs."
"Use `pip install .` to install from source."
)
cmdclass = {
"bdist_egg": bdist_egg if "bdist_egg" in sys.argv else bdist_egg_disabled,
}
with open("README.md") as f:
readme = f.read()
setup(
name="chartpress",
version="2.2.1.dev",
py_modules=["chartpress"],
cmdclass=cmdclass,
entry_points={
"console_scripts": [
"chartpress = chartpress:main",
],
},
description="ChartPress: render and publish helm charts and images",
long_description=readme,
long_description_content_type="text/markdown",
author="Jupyter Development Team",
author_email="[email protected]",
url="https://github.com/jupyterhub/chartpress",
license="BSD",
platforms="Linux, Mac OS X",
keywords=["helm", "kubernetes"],
python_requires=">=3.7",
install_requires=[
"ruamel.yaml>=0.15.44",
# Bug in 5.0.0: https://github.com/docker/docker-py/pull/2844
"docker>=3.2.0,!=5.0.0",
],
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
],
)