-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
42 lines (38 loc) · 1.38 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 distutils.core import setup
from setuptools import setup
# prevent the error when building Windows .exe
import codecs
try:
codecs.lookup('mbcs')
except LookupError:
ascii = codecs.lookup('ascii')
func = lambda name, enc=ascii: {True: enc}.get(name=='mbcs')
codecs.register(func)
with open("README.md", "r") as fh:
long_description = fh.read()
setup(name="crfmnes",
long_description=long_description,
long_description_content_type='text/markdown',
version="1.0.0",
description="CR-FM-NES " +
"for numerical optimization in Python",
author="Masahiro Nomura",
author_email="[email protected]",
maintainer="Masahiro Nomura",
maintainer_email="[email protected]",
url="https://github.com/nmasahiro/crfmnes",
license="MIT",
classifiers = [
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
],
keywords=["optimization", "CR-FM-NES"],
packages=["crfmnes"],
install_requires=["numpy"],
package_data={'': ['LICENSE']},
)