Packaging fixups
This commit is contained in:
parent
a6962d618e
commit
6b220dbea1
5
MANIFEST.in
Normal file
5
MANIFEST.in
Normal file
@ -0,0 +1,5 @@
|
||||
include LICENSE run_tests.sh ChangeLog
|
||||
include README builddeb.sh
|
||||
include MANIFEST.in pylintrc
|
||||
graft doc
|
||||
graft tools
|
1
bin/parallax-server
Symbolic link
1
bin/parallax-server
Symbolic link
@ -0,0 +1 @@
|
||||
parallax-server.py
|
1
bin/teller-server
Symbolic link
1
bin/teller-server
Symbolic link
@ -0,0 +1 @@
|
||||
teller-server.py
|
19
builddeb.sh
Executable file
19
builddeb.sh
Executable file
@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Copyright 2010 OpenStack, LLC
|
||||
# All Rights Reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
dpkg-buildpackage -b -rfakeroot -tc -uc -D
|
||||
|
27
pylintrc
Normal file
27
pylintrc
Normal file
@ -0,0 +1,27 @@
|
||||
[Messages Control]
|
||||
# W0511: TODOs in code comments are fine.
|
||||
# W0142: *args and **kwargs are fine.
|
||||
# W0622: Redefining id is fine.
|
||||
disable-msg=W0511,W0142,W0622
|
||||
|
||||
[Basic]
|
||||
# Variable names can be 1 to 31 characters long, with lowercase and underscores
|
||||
variable-rgx=[a-z_][a-z0-9_]{0,30}$
|
||||
|
||||
# Argument names can be 2 to 31 characters long, with lowercase and underscores
|
||||
argument-rgx=[a-z_][a-z0-9_]{1,30}$
|
||||
|
||||
# Method names should be at least 3 characters long
|
||||
# and be lowecased with underscores
|
||||
method-rgx=[a-z_][a-z0-9_]{2,50}$
|
||||
|
||||
# Module names matching nova-* are ok (files in bin/)
|
||||
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(nova-[a-z0-9_-]+))$
|
||||
|
||||
# Don't require docstrings on tests.
|
||||
no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
|
||||
|
||||
[Design]
|
||||
max-public-methods=100
|
||||
min-public-methods=0
|
||||
max-args=6
|
5
setup.py
5
setup.py
@ -46,7 +46,7 @@ setup(
|
||||
author='OpenStack, LLC.',
|
||||
author_email='openstack-admins@lists.launchpad.net',
|
||||
url='https://launchpad.net/glance',
|
||||
packages=find_packages(exclude=['test', 'bin']),
|
||||
packages=find_packages(exclude=['tests', 'bin']),
|
||||
test_suite='nose.collector',
|
||||
cmdclass={'sdist': local_sdist},
|
||||
classifiers=[
|
||||
@ -57,4 +57,5 @@ setup(
|
||||
'Environment :: No Input/Output (Daemon)',
|
||||
],
|
||||
install_requires=[], # removed for better compat
|
||||
scripts=[])
|
||||
scripts=['bin/parallax-server',
|
||||
'bin/teller-server'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user