-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·39 lines (37 loc) · 1.13 KB
/
setup.py
File metadata and controls
executable file
·39 lines (37 loc) · 1.13 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
#!/usr/bin/env python
METADATA = dict(
name='python-pyoftk',
version='0.1',
author='Martin Laprise',
author_email='martin.laprise.1@ulaval.ca',
description='PyOFTK is a python module that implements optics-related function and class',
long_description=open('README.rst').read(),
url='http://github.com/mlaprise/PyOFTK',
license = 'MIT License',
keywords='python optics laser',
)
SETUPTOOLS_METADATA = dict(
install_requires=['numpy', 'scipy'],
extras_require = dict(plot = ['matplotlib >= 0.99.0']),
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
packages=['PyOFTK'],
)
if __name__ == '__main__':
try:
import setuptools
METADATA.update(SETUPTOOLS_METADATA)
setuptools.setup(**METADATA)
except ImportError:
import distutils.core
distutils.core.setup(**METADATA)