1+ #!/usr/bin/python
2+ '''
3+ Licensed to the Apache Software Foundation (ASF) under one
4+ or more contributor license agreements. See the NOTICE file
5+ distributed with this work for additional information
6+ regarding copyright ownership. The ASF licenses this file
7+ to you under the Apache License, Version 2.0 (the
8+ "License"); you may not use this file except in compliance
9+ with the License. You may obtain a copy of the License at
10+
11+ http://www.apache.org/licenses/LICENSE-2.0
12+
13+ Unless required by applicable law or agreed to in writing,
14+ software distributed under the License is distributed on an
15+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+ KIND, either express or implied. See the License for the
17+ specific language governing permissions and limitations
18+ under the License.
19+ '''
20+
21+ from setuptools import setup , find_packages
22+ import os
23+ import sys
24+
25+ """
26+ setup module for aps.
27+
28+ Created on 7/3/2015
29+
30+ @author: alex
31+ """
32+
33+ PACKAGE = "aliyunsdkaps"
34+ NAME = "aliyun-python-sdk-aps"
35+ DESCRIPTION = "The aps module of Aliyun Python sdk."
36+ AUTHOR = "Aliyun"
37+ AUTHOR_EMAIL = "aliyun-developers-efficiency@list.alibaba-inc.com"
38+ URL = "http://develop.aliyun.com/sdk/python"
39+
40+ TOPDIR = os .path .dirname (__file__ ) or "."
41+ VERSION = __import__ (PACKAGE ).__version__
42+
43+ desc_file = open ("README.rst" )
44+ try :
45+ LONG_DESCRIPTION = desc_file .read ()
46+ finally :
47+ desc_file .close ()
48+
49+ setup (
50+ name = NAME ,
51+ version = VERSION ,
52+ description = DESCRIPTION ,
53+ long_description = LONG_DESCRIPTION ,
54+ author = AUTHOR ,
55+ author_email = AUTHOR_EMAIL ,
56+ license = "Apache" ,
57+ url = URL ,
58+ keywords = ["aliyun" ,"sdk" ,"aps" ],
59+ packages = find_packages (exclude = ["tests*" ]),
60+ include_package_data = True ,
61+ platforms = "any" ,
62+ install_requires = ["aliyun-python-sdk-core>=2.11.5" ,],
63+ classifiers = (
64+ "Development Status :: 4 - Beta" ,
65+ "Intended Audience :: Developers" ,
66+ "License :: OSI Approved :: Apache Software License" ,
67+ "Programming Language :: Python" ,
68+ "Programming Language :: Python :: 2.6" ,
69+ "Programming Language :: Python :: 2.7" ,
70+ "Programming Language :: Python :: 3" ,
71+ "Programming Language :: Python :: 3.3" ,
72+ "Programming Language :: Python :: 3.4" ,
73+ "Programming Language :: Python :: 3.5" ,
74+ "Programming Language :: Python :: 3.6" ,
75+ "Topic :: Software Development" ,
76+ )
77+
78+ )
0 commit comments