setup.py 2.19 KB
Newer Older
1
2
#!/usr/bin/env python
from setuptools import find_packages, setup
3
packages = find_packages()
4

Mijian Xu's avatar
CD    
Mijian Xu committed
5
6
7
with open("README.md", "r") as fh:
    long_description = fh.read()

Mijian Xu's avatar
Mijian Xu committed
8
VERSION = "1.2.6"
Mijian Xu's avatar
CD    
Mijian Xu committed
9
setup(name='python-seispy',
10
11
      version=VERSION,
      author='Mijian Xu',
Mijian Xu's avatar
Mijian Xu committed
12
13
      long_description=long_description,
      long_description_content_type="text/markdown",
14
      author_email='gomijianxu@gmail.com',
Mijian Xu's avatar
Mijian Xu committed
15
      license='GPLv3',
16
17
      packages=find_packages(),
      package_dir={'seispy': 'seispy'},
Mijian Xu's avatar
Mijian Xu committed
18
      package_data={'': ['data/*']},
19
20
21
22
23
24
25
      install_requires=[
                'netcdf4>=1.5.2',
                'pyerf>=1.0.1',
                'obspy>=1.2.0',
                'pandas>=1.0.0',
                'numpy>=1.19.0',
                'scipy>=1.1.0',
Mijian Xu's avatar
Mijian Xu committed
26
                'matplotlib>=3.2.0',
Mijian Xu's avatar
Mijian Xu committed
27
                'pyqt5>=5.12.0'],
Mijian Xu's avatar
Mijian Xu committed
28
      entry_points={'console_scripts': ['gen_rayp_lib=seispy.psrayp:gen_rayp_lib',
29
                                        'prf=seispy.rf:prf',
Mijian Xu's avatar
Mijian Xu committed
30
                                        'setpar=seispy.rf:setpar',
Mijian Xu's avatar
Mijian Xu committed
31
                                        'rf2depth=seispy.rf2depth_makedata:rf2depth',
Mijian Xu's avatar
Mijian Xu committed
32
                                        'plotrt=seispy.plotRT:main',
Mijian Xu's avatar
Mijian Xu committed
33
                                        'plotr=seispy.plotR:main',
Mijian Xu's avatar
Mijian Xu committed
34
                                        'updatecatalog=seispy.updatecatalog:main',
Mijian Xu's avatar
Mijian Xu committed
35
                                        'ndk2dat=seispy.updatecatalog:ndk2dat',
Mijian Xu's avatar
Mijian Xu committed
36
                                        'ccp_profile=seispy.scripts:ccp_profile',
Mijian Xu's avatar
Mijian Xu committed
37
                                        'hk=seispy.hk:hk',
Mijian Xu's avatar
Mijian Xu committed
38
                                        'pickrf=seispy.pickui:main',
Mijian Xu's avatar
ccp3d    
Mijian Xu committed
39
                                        'rfani=seispy.scripts:rfani',
Mijian Xu's avatar
pickr    
Mijian Xu committed
40
                                        'ccp3d=seispy.scripts:ccp3d',
Mijian Xu's avatar
Mijian Xu committed
41
42
                                        'get_pierce_points=seispy.scripts:get_pierce_points',
                                        'veltxt2mod=seispy.modcreator:veltxt2mod']},
Mijian Xu's avatar
Mijian Xu committed
43
      #  include_package_data=True,
Mijian Xu's avatar
CD    
Mijian Xu committed
44
45
46
47
48
      zip_safe=False,
      classifiers=['Programming Language :: Python',
                   'Programming Language :: Python :: 3.7',
                   'Programming Language :: Python :: 3.8',
                   'Programming Language :: Python :: 3.9']
49
      )