-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
57 lines (49 loc) · 1.28 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
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
# package meta info
NAME = "maria"
VERSION = "0.1.0"
DESCRIPTION = "A way to serve git repo through ssh protocol like github"
AUTHOR = "CMGS"
AUTHOR_EMAIL = "[email protected]"
LICENSE = "BSD"
URL = "https://github.com/CMGS/maria"
KEYWORDS = "ssh proxy"
CLASSIFIERS = []
# package contents
MODULES = []
PACKAGES = find_packages(exclude=['tests.*', 'tests', 'examples.*', 'examples'])
ENTRY_POINTS = """
[console_scripts]
maria = maria.__main__:main
"""
# dependencies
INSTALL_REQUIRES = ["paramiko>=1.12.0"]
here = os.path.abspath(os.path.dirname(__file__))
def read_long_description(filename):
path = os.path.join(here, filename)
if os.path.exists(path):
return open(path).read()
return ""
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=read_long_description('README.md'),
author=AUTHOR,
author_email=AUTHOR_EMAIL,
license=LICENSE,
url=URL,
keywords=KEYWORDS,
classifiers=CLASSIFIERS,
py_modules=MODULES,
packages=PACKAGES,
install_package_data=True,
zip_safe=False,
entry_points=ENTRY_POINTS,
install_requires=INSTALL_REQUIRES,
extras_require={
"gevent": ["Cython>=0.20.1", "gevent>=1.1"],
},
)