Skip to content

Commit

Permalink
Refactor and fix packaging.
Browse files Browse the repository at this point in the history
  • Loading branch information
Warren Smith committed Nov 24, 2016
1 parent e933bad commit 9c18904
Show file tree
Hide file tree
Showing 12 changed files with 455 additions and 428 deletions.
File renamed without changes.
4 changes: 1 addition & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
include README.md
include LICENSE
include LICENSE.txt
include release_notes.rst
recursive-include docs *
recursive-exclude docs/_build *
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[bdist_wheel]
# This flag says that the code is written to work on both Python 2 and Python
# 3. If at all possible, it is good practice to do this. If you cannot, you
# will need to generate wheels for each Python version that you support.
universal=1
24 changes: 23 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def file_read(filename):
setup(
name="staticmodel",
version=__version__,
packages=find_packages(),
packages=find_packages(exclude=['tests', 'docs']),
install_requires=['six'],
author="Warren A. Smith",
author_email="warren@wandrsmith.net",
Expand All @@ -24,4 +24,26 @@ def file_read(filename):
keywords="static constant model enum",
url="https://github.com/wsmith323/staticmodel",
test_suite="tests",
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',

# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Object Modeling',

# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',

# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)

0 comments on commit 9c18904

Please sign in to comment.