-
Notifications
You must be signed in to change notification settings - Fork 598
/
Copy pathsetup.py
40 lines (37 loc) · 1.4 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
import os
from setuptools import setup
from importlib.machinery import SourceFileLoader
dirname = os.path.dirname(__file__)
path_version = os.path.join(dirname, 'vaex/astro/_version.py')
version = SourceFileLoader('version', path_version).load_module()
name = 'vaex'
author = 'Maarten A. Breddels'
author_email= '[email protected]'
license = 'MIT'
version = version.__version__
url = 'https://www.github.com/maartenbreddels/vaex'
install_requires_astro = ['vaex-core~=4.5', 'astropy>=6.0.0']
setup(
name=name + '-astro',
version=version,
description='Astronomy related transformations and FITS file support',
long_description="Astronomy related transformations and FITS file support",
long_description_content_type="text/markdown",
url=url,
author=author,
author_email=author_email,
install_requires=install_requires_astro,
license=license,
packages=['vaex.astro'],
zip_safe=False,
entry_points={
'vaex.plugin': ['astro = vaex.astro.legacy:add_plugin'],
'vaex.dataframe.accessor': ['astro = vaex.astro.transformations:DataFrameAccessorAstro'],
'vaex.dataset.opener': [
'fits = vaex.astro.fits:FitsBinTable',
'gadget = vaex.astro.gadget:MemoryMappedGadget',
'votable = vaex.astro.votable:VOTable',
'tap = vaex.astro.tap:DatasetTap',
],
},
)