forked from wechatpy/wechatpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
41 lines (37 loc) · 1.16 KB
/
setup.py
File metadata and controls
41 lines (37 loc) · 1.16 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import with_statement
import os
from setuptools import setup, find_packages
import wechatpy
readme = 'README.md'
if os.path.exists('README.rst'):
readme = 'README.rst'
with open(readme) as f:
long_description = f.read()
with open('requirements.txt') as f:
requirements = [l for l in f.read().splitlines() if l]
setup(
name='wechatpy',
version=wechatpy.__version__,
author=wechatpy.__author__,
author_email='messense@icloud.com',
url='https://github.com/messense/wechatpy',
packages=find_packages(),
keywords='WeChat, wexin, SDK',
description='wechatpy: WeChat SDK for Python',
long_description=long_description,
install_requires=requirements,
include_package_data=True,
tests_require=['nose'],
test_suite='nose.collector',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS',
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
],
)