~ubuntu-branches/ubuntu/precise/horizon/precise-updates

« back to all changes in this revision

Viewing changes to horizon/setup.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-03-02 12:11:59 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20120302121159-65b88lcl4slve26i
Tags: 2012.1~e4-0ubuntu1
* New upstream version.
* debian/rules: Update due to upstream build changes.
* debian/control: Update standards-version.
* debian/patches/openstack-config-settings.patch: Dropped
* debian/patches/fix-dashboard-django-wsgi.patch: Refreshed
* debian/patches/fix-dashboard-manage.patch: Refreshed
* debian/openstack-dashboard.install: Update due to upstream build changes.
* debian/dashboard: Update to upstream build changes.
* debian/pydist-overrides: Dont try to install python-django-nose-selenium.
* debian/openstack-dashboard.install: Add missing config files.
* debian/rules: Fix broken settings.py
* debian/patches/pkg-setup.patch: Copy missing templates, shameously
  taken from debian
* debian/patches/fix-broken-tarbll.patch: Add missing files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# vim: tabstop=4 shiftwidth=4 softtabstop=4
2
 
 
3
 
# Copyright 2012 United States Government as represented by the
4
 
# Administrator of the National Aeronautics and Space Administration.
5
 
# All Rights Reserved.
6
 
#
7
 
# Copyright 2012 Nebula, Inc.
8
 
#
9
 
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
10
 
#    not use this file except in compliance with the License. You may obtain
11
 
#    a copy of the License at
12
 
#
13
 
#         http://www.apache.org/licenses/LICENSE-2.0
14
 
#
15
 
#    Unless required by applicable law or agreed to in writing, software
16
 
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17
 
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18
 
#    License for the specific language governing permissions and limitations
19
 
#    under the License.
20
 
 
21
 
import os
22
 
from setuptools import setup, find_packages, findall
23
 
from horizon import version
24
 
 
25
 
def read(fname):
26
 
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
27
 
 
28
 
setup(
29
 
    name = "horizon",
30
 
    version = version.canonical_version_string(),
31
 
    url = 'https://github.com/openstack/horizon/',
32
 
    license = 'Apache 2.0',
33
 
    description = "A Django interface for OpenStack.",
34
 
    long_description = read('README'),
35
 
    author = 'Devin Carlen',
36
 
    author_email = 'devin.carlen@gmail.com',
37
 
    packages = find_packages(),
38
 
    package_data = {'horizon':
39
 
                        [s[len('horizon/'):] for s in
40
 
                         findall('horizon/templates') \
41
 
                             + findall('horizon/dashboards/nova/templates') \
42
 
                             + findall('horizon/dashboards/syspanel/templates') \
43
 
                             + findall('horizon/dashboards/settings/templates')]},
44
 
    install_requires = [],
45
 
    classifiers = [
46
 
        'Development Status :: 4 - Beta',
47
 
        'Framework :: Django',
48
 
        'Intended Audience :: Developers',
49
 
        'License :: OSI Approved :: Apache Software License',
50
 
        'Operating System :: OS Independent',
51
 
        'Programming Language :: Python',
52
 
        'Topic :: Internet :: WWW/HTTP',
53
 
    ]
54
 
)