-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (51 loc) · 1.68 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
import os
import pathlib
from setuptools import Extension, setup, find_packages
with open(
os.path.join(os.path.abspath(os.path.dirname(__file__)), "README.rst"),
encoding="utf-8",
) as f:
long_description = f.read()
astroqlite_c_src = pathlib.Path("./mygaiadb/ext_c/astroqlite.c")
astroqlite_c = Extension(
"astroqlite_c",
sources=[astroqlite_c_src.as_posix()],
include_dirs=[pathlib.Path("./mygaiadb/ext_c/").as_posix()],
)
ext_modules = [astroqlite_c]
setup(
name="MyGaiaDB",
version="0.5.0dev0",
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Database :: Front-Ends",
],
packages=find_packages(),
package_data={"mygaiadb/sql_schema": ["*"]},
include_package_data=True,
python_requires=">=3.8",
install_requires=[
"numpy",
"astropy",
"h5py",
"pandas",
"tqdm",
],
ext_modules=ext_modules,
url="https://github.com/henrysky/MyGaiaDB",
project_urls={
"Bug Tracker": "https://github.com/henrysky/MyGaiaDB/issues",
"Documentation": "https://github.com/henrysky/MyGaiaDB",
"Source Code": "https://github.com/henrysky/MyGaiaDB",
},
license="MIT",
author="Henry Leung",
author_email="henrysky.leung@utoronto.ca",
description="Setup local serverless ESA Gaia / 2MASS / ALLWISE / CATWISE databases and run query locally with Python",
long_description=long_description,
)