-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
75 lines (68 loc) · 2.3 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/usr/bin/env python3
# encoding=utf-8
import sys
from pathlib import Path
from setuptools import setup, find_packages
from utils import DeployDockerBasesCommand
if sys.version_info < (3, 6):
raise RuntimeError('Arca requires Python 3.6 or greater')
def long_description():
return """{}\n\n{}""".format(
(Path(__file__).resolve().parent / "README.rst").read_text().split(".. split_here")[0],
(Path(__file__).resolve().parent / "docs/changes.rst").read_text()
)
setup(
name="arca",
version="0.3.3",
author="Mikuláš Poul",
author_email="[email protected]",
description="A library for running Python functions (callables) from git repositories "
"in various states of isolation with integrating caching.",
keywords=["sandboxing", "git", "docker", "vagrant"],
license="MIT",
url="https://github.com/pyvec/arca",
packages=find_packages(),
long_description=long_description(),
install_requires=[
"gitpython~=3.0.5",
"dogpile.cache~=0.9.0",
"requests",
"entrypoints>=0.2.3",
"cached-property",
],
extras_require={
"docker": [
"docker~=3.2.1",
],
"vagrant": [
"docker~=3.2.1",
"python-vagrant",
"fabric3",
],
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Security",
"Topic :: Utilities",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Version Control :: Git"
],
setup_requires=["pytest-runner"],
tests_require=["pytest", "pytest-flake8", "pytest-cov", "pytest-mock"],
cmdclass={
"deploy_docker_bases": DeployDockerBasesCommand
},
project_urls={
"Documentation": "https://arca.readthedocs.io/",
"CI": "https://travis-ci.org/pyvec/arca",
"Test coverage": "https://codecov.io/gh/pyvec/arca",
},
)