示例#1
0
 def test_parse_dependency_normal(self):
     with open(self.tmp_file, "w") as fh:
         fh.write("http://test.com\n")
     self.assertEqual(
         ["http://test.com"],
         setup.parse_dependency_links([self.tmp_file]))
示例#2
0
 def test_parse_dependency_with_git_egg_url(self):
     with open(self.tmp_file, "w") as fh:
         fh.write("-e git://foo.com/zipball#egg=bar")
     self.assertEqual(
         ["git://foo.com/zipball#egg=bar"],
         setup.parse_dependency_links([self.tmp_file]))
示例#3
0
 def test_parse_dependency_with_git_egg_url(self):
     with open(self.tmp_file, "w") as fh:
         fh.write("-e git://foo.com/zipball#egg=bar")
     self.assertEqual(["git://foo.com/zipball#egg=bar"],
                      setup.parse_dependency_links([self.tmp_file]))
示例#4
0
 def test_parse_dependency_normal(self):
     with open(self.tmp_file, "w") as fh:
         fh.write("http://test.com\n")
     self.assertEqual(["http://test.com"],
                      setup.parse_dependency_links([self.tmp_file]))
示例#5
0
#
#    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.

import setuptools

from openstack.common import setup

requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()

setuptools.setup(
    name='openstack.common',
    version=setup.get_post_version('openstack'),
    description="Common components for Openstack",
    long_description="Common components for Openstack "
    "including paster templates.",
    classifiers=[
        'Development Status :: 4 - Beta',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: POSIX :: Linux',
        'Programming Language :: Python :: 2.6',
        'Environment :: No Input/Output (Daemon)',
    ],
    keywords='openstack',
示例#6
0
#
#    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.

import setuptools

from openstack.common import setup

requires = setup.parse_requirements()
depend_links = setup.parse_dependency_links()

setuptools.setup(
    name='openstack.common',
    version=setup.get_post_version('openstack'),
    description="Common components for Openstack",
    long_description="Common components for Openstack "
                     "including paster templates.",
    classifiers=[
        'Development Status :: 4 - Beta',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: POSIX :: Linux',
        'Programming Language :: Python :: 2.6',
        'Environment :: No Input/Output (Daemon)', ],
    keywords='openstack',
    author='OpenStack',
示例#7
0
from setuptools import setup, find_packages
from openstack.common.setup import parse_requirements
from openstack.common.setup import parse_dependency_links
from openstack.common.setup import write_requirements


version = '0.1'

requires = parse_requirements()
depend_links = parse_dependency_links()
write_requirements()

setup(name='openstack.common',
      version=version,
      description="Common components for Openstack",
      long_description="Common components for Openstack "
                       "including paster templates.",
      classifiers=[
          'Development Status :: 4 - Beta',
          'License :: OSI Approved :: Apache Software License',
          'Operating System :: POSIX :: Linux',
          'Programming Language :: Python :: 2.6',
          'Environment :: No Input/Output (Daemon)',
          ],
      keywords='openstack',
      author='OpenStack',
      author_email='*****@*****.**',
      url='http://www.openstack.org/',
      license='Apache Software License',
      packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
      include_package_data=True,