forked from conda-incubator/conda-mirror
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
31 lines (29 loc) · 973 Bytes
/
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
from setuptools import find_packages, setup
import versioneer
try:
with open("README.md") as f:
long_description = f.read()
except Exception:
long_description = ""
print("Failed to load README.md as long_description")
setup(
name="conda_mirror",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author="Eric Dill",
packages=find_packages(),
author_email="[email protected]",
description="Mirror an upstream conda channel to a local directory",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/regro/conda-mirror",
platforms=["Linux", "Mac OSX", "Windows"],
license="BSD 3-Clause",
install_requires=["requests", "pyyaml", "tqdm"],
entry_points={
"console_scripts": [
"conda-mirror = conda_mirror.conda_mirror:cli",
"conda-diff-tar = conda_mirror.diff_tar:main",
]
},
)