Skip to content
This repository was archived by the owner on Feb 10, 2021. It is now read-only.

Improve packaging by using PBR #25

Merged
merged 1 commit into from
Jun 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[metadata]
name = podman
home-page = https://github.com/containers/python-podman
project_urls =
Bug Tracker = https://github.com/containers/python-podman/issues
Source Code = https://github.com/containers/python-podman
summary = A library to interact with a Podman server
description-file =
README.md
author = Jhon Honce
author-email = [email protected]
license = Apache Software License
classifier =
Development Status :: 3 - Alpha
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
Programming Language :: Python :: 3.4
Topic :: Software Development
keywords =
varlink
libpod
podman

[files]
packages =
podman

[extras]
devel=
fixtures
pbr
tox
bandit

[wheel]
universal = 1
38 changes: 4 additions & 34 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,39 +1,9 @@
#!/usr/bin/env python

import os

from setuptools import find_packages, setup


root = os.path.abspath(os.path.dirname(__file__))

with open(os.path.join(root, 'README.md')) as me:
readme = me.read()

with open(os.path.join(root, 'requirements.txt')) as r:
requirements = r.read().splitlines()

from setuptools import setup

setup(
name='podman',
version=os.environ.get('PODMAN_VERSION', '0.0.0'),
description='A library for communicating with a Podman server',
author='Jhon Honce',
author_email='[email protected]',
license='Apache Software License',
long_description=readme,
setup_requires=['pbr'],
pbr=True,
long_description_content_type="text/markdown",
include_package_data=True,
install_requires=requirements,
packages=find_packages(exclude=['test']),
python_requires='>=3',
zip_safe=True,
url='http://github.com/containers/libpod',
keywords='varlink libpod podman',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development',
])
)