Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Added missing long_description to setup module
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Aubert committed Mar 9, 2017
1 parent 75d1ab3 commit 1d5a308
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
import codecs
import sys
from os.path import abspath
from os.path import dirname
from os.path import join

from setuptools import find_packages
from setuptools import setup

import lxdock


if sys.version_info < (3, 4):
sys.exit('lxdock requires Python 3.4+ to run')


def read_relative_file(filename):
""" Returns contents of the given file, whose path is supposed relative to this module. """
with codecs.open(join(dirname(abspath(__file__)), filename), encoding='utf-8') as f:
return f.read()


setup(
name='lxdock',
version=lxdock.__version__,
Expand All @@ -18,6 +30,7 @@
url='https://github.com/lxdock/lxdock',
license='GPLv3',
description='LXDock is a tool for orchestrating LXD containers.',
long_description=read_relative_file('README.rst'),
keywords='lxd lxc containers environments orchestration devops',
zip_safe=False,
install_requires=[
Expand Down

0 comments on commit 1d5a308

Please sign in to comment.