-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
61 lines (51 loc) · 2.1 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# -*- coding: utf-8 -*-
"""Setup file for EspressoDB
"""
from espressodb import __version__
__author__ = "@cchang5, @ckoerber"
from os import path
from setuptools import setup, find_packages
CWD = path.abspath(path.dirname(__file__))
with open(path.join(CWD, "README.md"), encoding="utf-8") as inp:
LONG_DESCRIPTION = inp.read()
with open(path.join(CWD, "requirements.txt"), encoding="utf-8") as inp:
REQUIREMENTS = [el.strip() for el in inp.read().split(",")]
with open(path.join(CWD, "requirements-dev.txt"), encoding="utf-8") as inp:
REQUIREMENTS_DEV = [el.strip() for el in inp.read().split(",")]
setup(
name="espressodb",
python_requires=">=3.6",
version=__version__,
description="Science database interface using Django as the content manager.",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url="https://github.com/callat-qcd/espressodb",
project_urls={
"Bug Reports": "https://github.com/callat-qcd/espressodb/issues",
"Source": "https://github.com/callat-qcd/espressodb",
"Documentation": "https://espressodb.readthedocs.io",
},
author=__author__,
author_email="[email protected]",
keywords=["Database", "Workflow", "Django"],
packages=find_packages(exclude=["docs", "tests", "example"]),
install_requires=REQUIREMENTS,
entry_points={"console_scripts": ["espressodb=espressodb.manage:main"]},
extras_require={"dev": REQUIREMENTS_DEV},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Database",
"Topic :: Scientific/Engineering",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: BSD License",
],
include_package_data=True,
)