forked from mingxiaodong/hipims_io_python
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (57 loc) · 2.33 KB
/
setup.py
File metadata and controls
61 lines (57 loc) · 2.33 KB
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
57
58
59
60
61
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
setup the package
To do:
[type the aims and objectives of this script]
Created on Wed Apr 1 15:03:58 2020
@author: Xiaodong Ming
"""
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='hipims_io',
version='0.6.0',
description='To process input and output files of the HiPIMS model',
url='https://github.com/mingxiaodong/hipims_io_python',
author='Xiaodong Ming',
author_email='x.ming@lboro.ac.uk',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=['Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Operating System :: OS Independent',],
keywords='HiPIMS model IO',
license='LICENSE.txt',
packages=find_packages(),
include_package_data=True,
package_data={'hipims_io': ['sample/Example_DEM.asc',
'sample/DEM.gz',
'sample/landcover.gz',
'sample/rain_mask.gz',
'sample/rain_source.csv',
'sample/Example_data.npy'],},
install_requires=['rasterio', 'scipy', 'pyshp', 'fiona', 'hydro_raster',
'matplotlib', 'numpy', 'pandas', 'imageio'],
python_requires='>=3.6')
"""
Required python package
os, setuptools, copy, math, numpy, scipy, shutil, datetime, imageio, matplotlib,
mpl_toolkits, pkg_resources, gzip, pickle, warnings, pandas
#Sometimes you’ll want to use packages that are properly arranged with
#setuptools, but aren’t published to PyPI. In those cases, you can specify a
#list of one or more dependency_links URLs where the package can be downloaded,
#along with some additional hints, and setuptools will find and install the
#package correctly.
#For example, if a library is published on GitHub, you can specify it like:
setup(
...
dependency_links=['http://github.com/user/repo/tarball/master#egg=package-1.0']
...
)
"""