summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Makogon <lildee1991@gmail.com>2016-12-14 12:39:29 +0200
committerDenis Makogon <lildee1991@gmail.com>2016-12-14 12:39:29 +0200
commitba13e225b58883d9b3509a4247c9fefcd18bf0b3 (patch)
tree6fd6681bedf0533050d8daadf03d9fbf33073058
parentc7f89ebb7e1255cd2e656776bb3bba3edd37ce1a (diff)
Use PBR for setup.py
-rw-r--r--requirements.txt1
-rw-r--r--setup.cfg39
-rw-r--r--setup.py82
3 files changed, 53 insertions, 69 deletions
diff --git a/requirements.txt b/requirements.txt
index 90afd4a..4c8bec2 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,6 +1,7 @@
1# The order of packages is significant, because pip processes them in the order 1# The order of packages is significant, because pip processes them in the order
2# of appearance. Changing the order has an impact on the overall integration 2# of appearance. Changing the order has an impact on the overall integration
3# process, which may cause wedges in the gate later. 3# process, which may cause wedges in the gate later.
4pbr>=1.8 # Apache-2.0
4 5
5uvloop==0.6.0 # Apache-2.0 6uvloop==0.6.0 # Apache-2.0
6aioservice==0.0.2 # Apache-2.0 7aioservice==0.0.2 # Apache-2.0
diff --git a/setup.cfg b/setup.cfg
index 2a9acf1..94fac78 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,39 @@
1[bdist_wheel] 1[metadata]
2name = picasso
3summary = OpenStack Functions-as-a-Service
4description-file =
5 README.md
6author = OpenStack
7author-email = openstack-dev@lists.openstack.org
8home-page = https://github.com/iron-io/picasso
9classifier =
10 Environment :: OpenStack
11 Intended Audience :: Information Technology
12 Intended Audience :: System Administrators
13 License :: OSI Approved :: Apache Software License
14 Operating System :: POSIX :: Linux
15 Programming Language :: Python
16 Programming Language :: Python :: 3.5
17
18[files]
19packages =
20 picasso
21
22[entry_points]
23console_scripts =
24 picasso-api = service.picasso_api:server
25
26[global]
27setup-hooks =
28 pbr.hooks.setup_hook
29
30[build_sphinx]
31source-dir = doc/source
32build-dir = doc/build
33all_files = 1
34
35[upload_sphinx]
36upload-dir = doc/build/html
37
38[wheel]
2universal = 1 39universal = 1
diff --git a/setup.py b/setup.py
index 800ba3e..9a33e94 100644
--- a/setup.py
+++ b/setup.py
@@ -1,75 +1,21 @@
1# All Rights Reserved. 1# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
2# 2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may 3# Licensed under the Apache License, Version 2.0 (the "License");
4# not use this file except in compliance with the License. You may obtain 4# you may not use this file except in compliance with the License.
5# a copy of the License at 5# You may obtain a copy of the License at
6# 6#
7# http://www.apache.org/licenses/LICENSE-2.0 7# http://www.apache.org/licenses/LICENSE-2.0
8# 8#
9# Unless required by applicable law or agreed to in writing, software 9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 10# distributed under the License is distributed on an "AS IS" BASIS,
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12# License for the specific language governing permissions and limitations 12# implied.
13# under the License. 13# See the License for the specific language governing permissions and
14# limitations under the License.
14 15
15import os 16# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
16import setuptools 17import setuptools
17 18
18
19def read(fname):
20 return open(os.path.join(os.path.dirname(__file__), fname)).read()
21
22setuptools.setup( 19setuptools.setup(
23 name='picasso', 20 setup_requires=['pbr>=1.8'],
24 version='0.0.1', 21 pbr=True)
25 description=('Picasso provides abstractions for '
26 'Functions-as-a-Service on OpenStack'),
27 long_description=read('README.md'),
28 url='picasso.readthedocs.org',
29 author='Denis Makogon',
30 author_email='denis@iron.io',
31 packages=setuptools.find_packages(),
32 install_requires=[
33 "uvloop==0.6.0",
34 "aioservice==0.0.2",
35 "aiomysql==0.0.9",
36 "alembic==0.8.8",
37 "click==6.6",
38 "python-functionsclient==0.0.2",
39 "keystoneauth1==2.15.0",
40 "python-keystoneclient==3.6.0",
41 "aiohttp-swagger==1.0.2",
42 ],
43 license='License :: OSI Approved :: Apache Software License',
44 classifiers=[
45 'License :: OSI Approved :: Apache Software License',
46 'Intended Audience :: Information Technology',
47 'Intended Audience :: System Administrators',
48 'Intended Audience :: Developers',
49 'Environment :: No Input/Output (Daemon)',
50 'Programming Language :: Python :: 3.5',
51 'Topic :: Software Development :: '
52 'Libraries :: Python Modules',
53 'Topic :: System :: Distributed Computing',
54 'Operating System :: Microsoft :: Windows',
55 'Operating System :: POSIX',
56 'Operating System :: Unix',
57 'Operating System :: MacOS',
58 ],
59 keywords=['functions', 'lambdas', 'python API'],
60 platforms=['Linux', 'Mac OS-X', 'Unix'],
61 tests_require=[
62 'flake8==2.5.0',
63 'hacking<0.11,>=0.10.0',
64 'sphinx!=1.3b1,<1.4,>=1.2.1',
65 'testtools>=1.4.0',
66 "pytest-aiohttp",
67 "pytest-cov",
68 ],
69 zip_safe=True,
70 entry_points={
71 'console_scripts': [
72 'picasso-api = service.picasso_api:server',
73 ]
74 },
75)