Skip to content

Commit 610199f

Browse files
committed
cleaned up for setup.py
1 parent 366cdb9 commit 610199f

5 files changed

Lines changed: 60 additions & 83 deletions

File tree

PyATMM/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
"""
2+
Python implementation of the generalized TMM
3+
"""
4+
5+
__author__ = "Pavel Dmitriev"
6+
__version__ = "1.0.0-a0"

PyATMM/main.py

Lines changed: 0 additions & 55 deletions
This file was deleted.

PyATMM/util.py

Lines changed: 0 additions & 28 deletions
This file was deleted.

examples/__init__.py

Whitespace-only changes.

setup.py

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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

Comments
 (0)