-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
63 lines (54 loc) · 1.49 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import sys
import os
from setuptools import setup, find_packages
import support
support.use("system")
support.set_package_name("minimuse")
from support.setup_codes import setup_commands
from support.classifiers import classifiers
name = 'minimuse'
author = 'The Amuse/ Omuse Team'
author_email = '[email protected]'
license_ = "Apache License 2.0"
url = 'https://github.com/amusecode/minimuse'
install_requires = [
'wheel>=0.32',
'docutils>=0.6',
'numpy>=1.2.2',
'nose>=0.11.1',
'mpi4py>=1.1.0',
'h5py>=1.1.0',
'amuse-framework>=13.1.0'
]
description = 'miniMUSE: a minimal example for a MUSE package'
with open("README.md", "r") as fh:
long_description = fh.read()
long_description_content_type = "text/markdown"
extensions = []
all_data_files = []
packages = find_packages('src')
package_data = {
}
mapping_from_command_name_to_command_class=setup_commands()
setup(
name=name,
use_scm_version={
"write_to": "src/minimuse/version.py",
},
setup_requires=['setuptools_scm'],
classifiers=classifiers,
url=url,
author_email=author_email,
author=author,
license=license_,
description=description,
long_description=long_description,
long_description_content_type=long_description_content_type,
install_requires=install_requires,
cmdclass=mapping_from_command_name_to_command_class,
ext_modules=extensions,
package_dir = {'': 'src'},
packages=packages,
package_data=package_data,
data_files=all_data_files,
)