1+ import PyATMM
2+
3+ # Always prefer setuptools over distutils
4+ from setuptools import setup , find_packages
5+ # To use a consistent encoding
6+ from codecs import open
7+ from os import path
8+
9+ here = path .abspath (path .dirname (__file__ ))
10+
11+ # Get the long description from the RpythonEADME file
12+ with open (path .join (here , 'README.md' ), encoding = 'utf-8' ) as f :
13+ long_description = f .read ()
14+
15+ setup (
16+ name = 'PyATMM' ,
17+
18+ # Versions should comply with PEP440. For a discussion on single-sourcing
19+ # the version across setup.py and the project code, see
20+ # https://packaging.python.org/en/latest/single_source_version.html
21+ version = PyATMM .__version__ ,
22+
23+ description = 'Implementation of the transfer matrix method' ,
24+ long_description = long_description ,
25+
26+ url = 'https://github.com/kitchenknif/PyTMM' ,
27+
28+ author = PyATMM .__author__ ,
29+ author_email = 'pavel.a.dmitriev@gmail.com' ,
30+
31+ # license=PyATMM.__license__,
32+
33+ classifiers = [
34+
35+ 'Intended Audience :: Science/Research' ,
36+ 'Topic :: Scientific/Engineering :: Physics' ,
37+
38+ 'Programming Language :: Python :: 3' ,
39+ 'Programming Language :: Python :: 3.2' ,
40+ 'Programming Language :: Python :: 3.3' ,
41+ 'Programming Language :: Python :: 3.4' ,
42+ 'Programming Language :: Python :: 3.5' ,
43+ ],
44+ keywords = '' ,
45+
46+ packages = find_packages (exclude = ['contrib' , 'docs' , 'tests' ]),
47+
48+ install_requires = ['numpy' , 'scipy' ],
49+
50+ extras_require = {},
51+ package_data = {},
52+ data_files = [],
53+ entry_points = {},
54+ )
0 commit comments