Skip to content

Commit

Permalink
Enhances the package metadata (should help with #23)
Browse files Browse the repository at this point in the history
  • Loading branch information
outscale-age committed Feb 9, 2021
1 parent d13be3f commit faf07b6
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,37 @@
import codecs
import os
from setuptools import find_packages, setup

def read(*parts):
"""Reads a file from a sub directory.
:param parts: components of the path to file
:return: the file contents
"""

# intentionally *not* adding an encoding option to open, See:
# https://github.com/pypa/virtualenv/issues/201#issuecomment-3145690
here = os.path.abspath(os.path.dirname(__file__))
return codecs.open(os.path.join(here, *parts), 'r').read()

setup(
name="osc-sdk",
version="1.6",
packages=find_packages(),
author="Outscale SAS",
author_email="contact@outscale.com",
description="Outscale",
url="http://www.outscale.com/",
description="Outscale API SDK and CLI",
long_description=read("README.md"),
long_description_content_type="text/markdown",
license='BSD',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Operating System :: OS Independent',
],
url="https://github.com/outscale/osc-cli",
entry_points={"console_scripts": ["osc-cli = osc_sdk.sdk:main"]},
install_requires=[
"setuptools",
Expand Down

0 comments on commit faf07b6

Please sign in to comment.