This repository was archived by the owner on Jul 25, 2019. It is now read-only.
forked from ryhsiao/pysftp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
52 lines (43 loc) · 1.68 KB
/
setup.py
File metadata and controls
52 lines (43 loc) · 1.68 KB
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
'''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
DESCRIPTION = "A friendly face on SFTP"
setup(
name="pysftp",
version="0.2.9",
py_modules=['pysftp'],
# Project uses reStructuredText, so ensure that the docutils get
# installed or upgraded on the target machine
install_requires=['paramiko>=1.15.2'],
# metadata for upload to PyPI
author="Jeff Hinrichs",
author_email="jeffh@dundeemt.com",
description=DESCRIPTION,
license="BSD",
keywords="sftp ssh ftp internet",
url="https://bitbucket.org/dundeemt/pysftp", # project home page
long_description=LONG_DESCRIPTION,
platforms=['any'],
download_url='https://pypi.python.org/pypi/pysftp',
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.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: CPython',
],
)