-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
41 lines (38 loc) · 1.19 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
from setuptools import find_packages, setup
'''
Run the following code in your conda environment to make the package available
in development mode
$ python setup.py develop
'''
# Get version file
vfile = {}
exec(open('xmca/version.py').read(), vfile)
with open('README.md', 'r') as fh:
long_description = fh.read()
with open('requirements.txt', 'r') as fh:
install_requires = fh.read()
setup(
name='xmca',
include_package_data=True,
keywords='eof, analysis, mca, pca',
author='Niclas Rieger',
author_email='[email protected]',
description='Maximum Covariance Analysis in Python',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/nicrie/xmca',
packages=find_packages(),
license='MIT',
classifiers=[
'Programming Language :: Python :: 3',
'Operating System :: OS Independent',
],
python_requires='>=3.6',
version_config={
'version_callback' : vfile['__version__'],
'dev_template': '{tag}.post{ccount}',
'dirty_template': '{tag}.post{ccount}'
},
setup_requires=['setuptools-git-versioning', 'numpy'],
install_requires=install_requires,
)