setup.py 904 字节
Newer Older
Mijian Xu's avatar
Mijian Xu 已提交
1
2
3
4
#!/usr/bin/env python
from setuptools import find_packages, setup
packages = find_packages()

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

Mijian Xu's avatar
Mijian Xu 已提交
8
VERSION = "0.1.9"
Mijian Xu's avatar
Mijian Xu 已提交
9
10
11
12
setup(name='mgpro',
      version=VERSION,
      author='Mijian Xu',
      author_email='gomijianxu@gmail.com',
Mijian Xu's avatar
Mijian Xu 已提交
13
14
15
16
      url='https://github.com/xumi1993/MGPro',
      description='A Python Interactive command line toolbox for processing geomagnetic and gravity data',
      long_description=long_description,
      long_description_content_type="text/markdown",
Mijian Xu's avatar
Mijian Xu 已提交
17
18
19
20
21
22
23
24
25
      license='GPLv3',
      packages=find_packages(),
      package_dir={'MGPro': 'mgpro'},
      install_requires=['pyproj', 'numpy', 'scipy', 'matplotlib'],
      entry_points={'console_scripts': ['mgpro=mgpro.client:main',
                                        'proj_convert=mgpro.proj:exec']},
      include_package_data=True,
      zip_safe=False
      )