-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (33 loc) · 1.17 KB
/
setup.py
File metadata and controls
51 lines (33 loc) · 1.17 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import find_packages
from distutils.core import setup
import os
on_rtd = os.environ.get('READTHEDOCS') == 'True'
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
with open('requirements.txt') as f:
requirements = f.read().splitlines()
package_name = 'ldds'
version_num = '0.1.0'
def main():
install_requires = ['m2r'] if on_rtd else []
setup(
name = package_name,
version = version_num,
description = 'Python library for computing Lagrangian descriptors',
long_description = readme,
author = '.',
author_email = '.',
url = 'https://github.com/champsproject/ldds',
license = license,
# packages=find_packages(exclude=('test','data', 'docs')),
packages=['ldds'],
package_dir={'ldds': 'ldds'},
package_data={'ldds': ['pes_files/HenonHeiles_pes_data.hdf5', 'vector_field_files/Duffing_perturbed_vector_field_data.hdf5']},
install_requires = requirements
)
if __name__ == '__main__':
main()