Commit 999eb514 authored by Martin Glatzle's avatar Martin Glatzle

Externalize metadata.

parent e32ac0d7
with open('README.md') as fh:
long_desc = fh.read()
name = 'cosmic_dustbox'
version = '0.1.dev0'
authors = 'Martin Glatzle, Ayman Noureldin'
author_email = 'findessp@yandex.ru'
description = 'Toolbox for cosmic dust.'
url = 'https://github.com/findesgh/'+name
license = 'GPL-3.0'
from setuptools import setup
import metadata as md
with open('README.md') as fh:
long_desc = fh.read()
name = 'cosmic_dustbox'
setup(
name=name,
version='0.1.dev0',
author_email='findessp@yandex.ru',
description='Toolbox for cosmic dust.',
long_description=long_desc,
name=md.name,
version=md.version,
author=md.authors,
author_email=md.author_email,
description=md.description,
long_description=md.long_desc,
long_description_content_type='text/markdown',
url='https://github.com/findesgh/'+name,
license='GPL-3.0',
packages=[name],
url=md.url,
license=md.license,
packages=[md.name],
install_requires=[
'numpy',
'astropy',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment