-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
54 lines (49 loc) · 1.55 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
"""
setup.py -- setup script for installation and use of packages
"""
import os
from setuptools import setup, find_packages, Command
from setuptools.command import install
__version__ = '0.1.0'
class CleanCommand(Command):
"""Custom clean command to tidy up the project root."""
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
os.system('rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info')
install_requires = [
'astropy>=4.0',
'blimpy>=2.0.0',
'matplotlib>=3.1.0',
'mpi4py>=3.1.1',
'numpy>=1.18.1',
'pandas>=1.3.4',
'riptide-ffa>=0.2.4',
'scipy>=1.6.0',
'tqdm>=4.32.1'
]
with open("README.md", "r") as fh:
long_description = fh.read()
setup(name='blipss',
version=__version__,
author='Akshay Suresh',
author_email='[email protected]',
description='Breakthrough Listen Investigation for Periodic Spectral Signals',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/UCBerkeleySETI/blipss',
install_requires=install_requires,
packages=find_packages(),
license='MIT License',
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: Unix",
"Operating System :: MacOS :: MacOS X",
"License :: OSI Approved :: BSD 3-Clause License",
"Topic :: Scientific/Engineering :: Astronomy"
],
cmdclass={'clean': CleanCommand}
)