Skip to content

Commit

Permalink
cleaned up for setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kitchenknif committed Mar 10, 2016
1 parent 366cdb9 commit 610199f
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 83 deletions.
6 changes: 6 additions & 0 deletions PyATMM/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""
Python implementation of the generalized TMM
"""

__author__ = "Pavel Dmitriev"
__version__ = "1.0.0-a0"
55 changes: 0 additions & 55 deletions PyATMM/main.py

This file was deleted.

28 changes: 0 additions & 28 deletions PyATMM/util.py

This file was deleted.

Empty file removed examples/__init__.py
Empty file.
54 changes: 54 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
import PyATMM

# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path

here = path.abspath(path.dirname(__file__))

# Get the long description from the RpythonEADME file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

setup(
name='PyATMM',

# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version=PyATMM.__version__,

description='Implementation of the transfer matrix method',
long_description=long_description,

url='https://github.com/kitchenknif/PyTMM',

author=PyATMM.__author__,
author_email='[email protected]',

# license=PyATMM.__license__,

classifiers=[

'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Physics',

'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='',

packages=find_packages(exclude=['contrib', 'docs', 'tests']),

install_requires=['numpy', 'scipy'],

extras_require={},
package_data={},
data_files=[],
entry_points={},
)

0 comments on commit 610199f

Please sign in to comment.