-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
39 lines (35 loc) · 1.34 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import re
from setuptools import setup, find_packages
# get metadata from mudule using a regexp
with open('daiquiri/__init__.py') as f:
metadata = dict(re.findall(r'__(.*)__ = [\']([^\']*)[\']', f.read()))
# get install_requires from requirements.txt
with open('requirements.txt') as f:
install_requires = f.readlines()
setup(
name=metadata['title'],
version=metadata['version'],
author=metadata['author'],
author_email=metadata['email'],
maintainer=metadata['author'],
maintainer_email=metadata['email'],
license=metadata['license'],
url='https://github.com/django-daiquiri/daiquiri',
description=u'Daiquiri is a framework for the publication of scientific databases.',
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
install_requires=install_requires,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django :: 4.2',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.11',
'Topic :: Scientific/Engineering :: Astronomy'
],
packages=find_packages(),
include_package_data=True
)