This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
Printr/setup.py
2015-10-08 15:39:22 +01:00

23 lines
No EOL
605 B
Python

from distutils.core import setup
from json import load as json_load
LONG_DESCRIPTION = None
try:
LONG_DESCRIPTION = open('README.md').read()
except:
pass
DETAILS = None
with open('details.json') as file:
DETAILS = json_load(file)
setup(
name = DETAILS['name'],
packages = DETAILS['packages'],
version = DETAILS['version'],
description = DETAILS['description'],
long_description = LONG_DESCRIPTION,
author = DETAILS['author'],
author_email = DETAILS['author_email'],
url = DETAILS['url'],
license = DETAILS['license'],
platforms = DETAILS['platforms']
)