Skip to content

Commit

Permalink
Use setupmeta to enrich version specification.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewwardrop committed Nov 30, 2018
1 parent 78f2f05 commit 2065780
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import os
import sys

from setuptools import find_packages, setup

# Extract version information from Omniduct _version.py
Expand All @@ -21,6 +18,7 @@
setup(
# Package metadata
name="omniduct",
versioning='post',
version=version_info['__version__'],
author=version_info['__author__'],
author_email=version_info['__author_email__'],
Expand All @@ -32,7 +30,7 @@
),
long_description=long_description,
classifiers=[
'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
Expand All @@ -51,6 +49,7 @@
include_package_data=True,

# Dependencies
setup_requires=['setupmeta'],
install_requires=version_info['__dependencies__'],
extras_require=version_info['__optional_dependencies__']
)

0 comments on commit 2065780

Please sign in to comment.