-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
48 lines (43 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
kwargs = {}
major, minor = sys.version_info[:2]
if major >= 3:
kwargs['use_2to3'] = True
from setuptools import setup
install_requires = []
try:
import argparse # python 2.7+ support argparse
except ImportError:
install_requires.append('argparse')
import buffo
from email.utils import parseaddr
author, author_email = parseaddr(buffo.__author__)
setup(
name='buffo',
version=buffo.__version__,
author=author,
author_email=author_email,
url=buffo.__homepage__,
packages=['buffo'],
description='FTP Library for human',
license='BSD License',
install_requires=install_requires,
include_package_data=True,
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS',
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: Implementation :: CPython',
],
**kwargs
)