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.
2015-09-26 14:04:41 +01:00
|
|
|
from distutils.core import setup
|
2015-10-08 15:39:22 +01:00
|
|
|
from json import load as json_load
|
2015-09-26 14:04:41 +01:00
|
|
|
LONG_DESCRIPTION = None
|
|
|
|
try:
|
|
|
|
LONG_DESCRIPTION = open('README.md').read()
|
|
|
|
except:
|
|
|
|
pass
|
|
|
|
|
2015-09-26 21:38:58 +01:00
|
|
|
DETAILS = None
|
|
|
|
with open('details.json') as file:
|
2015-10-08 15:39:22 +01:00
|
|
|
DETAILS = json_load(file)
|
2015-09-26 14:04:41 +01:00
|
|
|
setup(
|
2015-10-08 15:39:22 +01:00
|
|
|
name = DETAILS['name'],
|
|
|
|
packages = DETAILS['packages'],
|
|
|
|
version = DETAILS['version'],
|
|
|
|
description = DETAILS['description'],
|
2015-09-26 14:25:48 +01:00
|
|
|
long_description = LONG_DESCRIPTION,
|
2015-10-08 15:39:22 +01:00
|
|
|
author = DETAILS['author'],
|
|
|
|
author_email = DETAILS['author_email'],
|
|
|
|
url = DETAILS['url'],
|
|
|
|
license = DETAILS['license'],
|
|
|
|
platforms = DETAILS['platforms']
|
2015-09-26 14:04:41 +01:00
|
|
|
)
|