-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (48 loc) · 1.91 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
'''setup for package'''
from setuptools import setup
# with open('README.rst') as h_rst:
# LONG_DESCRIPTION = h_rst.read()
#
# with open('docs/changes.rst') as h_rst:
# BUF = h_rst.read()
# BUF = BUF.replace('``', '$') # protect existing code markers
# for xref in [':meth:', ':attr:', ':class:', ':func:']:
# BUF = BUF.replace(xref, '') # remove xrefs
# BUF = BUF.replace('`', '``') # replace refs with code markers
# BUF = BUF.replace('$', '``') # restore existing code markers
# LONG_DESCRIPTION += BUF
with open("README.rst", "r", encoding="utf-8") as fh:
LONG_DESCRIPTION = fh.read()
# LONG_DESCRIPTION = "pysftp_extension"
DESCRIPTION = "A friendly face on SFTP"
setup(
name="pysftp_extension",
version="0.2.13",
packages=['pysftp_extension', ],
# Project uses reStructuredText, so ensure that the docutils get
# installed or upgraded on the target machine
install_requires=['paramiko==2.9.2'],
# metadata for upload to PyPI
author="Ding Li",
author_email="[email protected]",
description=DESCRIPTION,
license="BSD",
keywords="sftp ssh ftp internet",
url="https://github.com/achillis2/pysftp_extension", # project home page
long_description=LONG_DESCRIPTION,
long_description_content_type = "text/markdown",
platforms=['any'],
download_url='https://pypi.python.org/pypi/pysftp_extension',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
],
)