pull in build changes from server
This commit is contained in:
parent
aa3504dfde
commit
c5fe7d3be9
@ -33,7 +33,8 @@ builddeb:
|
|||||||
$(PYTHON) setup.py sdist $(COMPILE) --dist-dir=../
|
$(PYTHON) setup.py sdist $(COMPILE) --dist-dir=../
|
||||||
rename -f 's/$(PROJECT)-(.*)\.tar\.gz/$(PROJECT)_$$1\.orig\.tar\.gz/' ../*
|
rename -f 's/$(PROJECT)-(.*)\.tar\.gz/$(PROJECT)_$$1\.orig\.tar\.gz/' ../*
|
||||||
# build the package
|
# build the package
|
||||||
dpkg-buildpackage -i -I -rfakeroot
|
#dpkg-buildpackage -i -I -rfakeroot
|
||||||
|
dpkg-buildpackage -b -rfakeroot -tc -uc -D
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(PYTHON) setup.py clean
|
$(PYTHON) setup.py clean
|
||||||
|
@ -10,8 +10,15 @@ Package: django-openstack
|
|||||||
Architecture: all
|
Architecture: all
|
||||||
Homepage: https://github.com/4P/openstack-dashboard
|
Homepage: https://github.com/4P/openstack-dashboard
|
||||||
XB-Python-Version: ${python:Versions}
|
XB-Python-Version: ${python:Versions}
|
||||||
Depends: ${misc:Depends}, ${python:Depends}
|
Depends: ${misc:Depends},
|
||||||
|
python-django (=1.3-2),
|
||||||
|
python-glance,
|
||||||
|
python-boto,
|
||||||
|
python-dateutil,
|
||||||
|
openstackx,
|
||||||
|
${python:Depends}
|
||||||
Description: Blah python module that adds blah and bleh
|
Description: Blah python module that adds blah and bleh
|
||||||
Here you should put a long description your package. This line *MUST* (this is
|
Here you should put a long description your package. This line *MUST* (this is
|
||||||
for default printing) begin with a single space.
|
for default printing) begin with a single space.
|
||||||
Look for more information about this.
|
Look for more information about this.
|
||||||
|
|
||||||
|
@ -1,9 +1,18 @@
|
|||||||
import os
|
import os
|
||||||
|
import shutil
|
||||||
from setuptools import setup, find_packages, findall
|
from setuptools import setup, find_packages, findall
|
||||||
|
|
||||||
def read(fname):
|
def read(fname):
|
||||||
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
||||||
|
|
||||||
|
dst = 'debian/openstack-dashboard/var/lib/dash'
|
||||||
|
os.system('rm -rf %s' % dst)
|
||||||
|
shutil.copytree('media', '%s/media' % dst)
|
||||||
|
shutil.copytree('tools', '%s/tools' % dst)
|
||||||
|
shutil.copytree('dashboard', '%s/dashboard' % dst)
|
||||||
|
shutil.copytree('local', '%s/local' % dst)
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name = "openstack-dashboard",
|
name = "openstack-dashboard",
|
||||||
version = "0.2",
|
version = "0.2",
|
||||||
@ -13,10 +22,12 @@ setup(
|
|||||||
long_description = read('README'),
|
long_description = read('README'),
|
||||||
author = 'Devin Carlen',
|
author = 'Devin Carlen',
|
||||||
author_email = 'devin.carlen@gmail.com',
|
author_email = 'devin.carlen@gmail.com',
|
||||||
packages = find_packages(),
|
# packages = find_packages(),
|
||||||
package_data = {'django_openstack':
|
# package_data = {'openstack-dashboard':
|
||||||
[s[len('django_openstack/'):] for s in
|
# [s[len('dashboard/'):] for s in
|
||||||
findall('django_openstack/templates')]},
|
# findall('dashboard/templates')]},
|
||||||
|
|
||||||
|
data_files = [],
|
||||||
install_requires = ['setuptools', 'mox>=0.5.0'],
|
install_requires = ['setuptools', 'mox>=0.5.0'],
|
||||||
classifiers = [
|
classifiers = [
|
||||||
'Development Status :: 4 - Beta',
|
'Development Status :: 4 - Beta',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user