Skip to content

Commit

Permalink
Merge pull request #13 from ceph/pypi
Browse files Browse the repository at this point in the history
Prepare for PyPI
  • Loading branch information
alfredodeza committed Aug 28, 2014
2 parents 86e780b + 00bca0c commit 193c66d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 9 deletions.
1 change: 1 addition & 0 deletions LICENSE
@@ -1,4 +1,5 @@
Copyright (c) 2011 New Dream Network, LLC
Copyright (c) 2014 Red Hat, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions downburst/__init__.py
@@ -0,0 +1 @@
__version__ = '0.0.1'
2 changes: 2 additions & 0 deletions setup.cfg
@@ -1,2 +1,4 @@
[pytest]
norecursedirs = .* _* virtualenv
[metadata]
description-file = README.rst
26 changes: 17 additions & 9 deletions setup.py
@@ -1,12 +1,12 @@
#!/usr/bin/python
from setuptools import setup, find_packages
import os
import re
import sys

def read(fname):
path = os.path.join(os.path.dirname(__file__), fname)
f = open(path)
return f.read()
module_file = open("downburst/__init__.py").read()
metadata = dict(re.findall(r"__([a-z]+)__\s*=\s*['\"]([^'\"]*)['\"]", module_file))
long_description = open('README.rst').read()

install_requires = []
pyversion = sys.version_info[:2]
Expand All @@ -15,16 +15,24 @@ def read(fname):

setup(
name='downburst',
version='0.0.1',
version=metadata['version'],
packages=find_packages(),

author='Tommi Virtanen',
author_email='tommi.virtanen@inktank.com',
author='Inktank Storage, Inc.',
author_email='ceph-qa@ceph.com',
description='Run Cloud images on libvirt virtual machines',
long_description=read('README.rst'),
long_description=long_description,
license='MIT',
keywords='libvirt virtualization',
url="https://github.com/ceph/downburst",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2.7",
],


install_requires=[
'setuptools',
Expand Down

0 comments on commit 193c66d

Please sign in to comment.