Skip to content

Commit

Permalink
Merge pull request #8 from drunsinn/distutils_fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
drunsinn authored Jan 18, 2021
2 parents 40675a9 + f3e8939 commit 0ecb603
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""create python packages for publishing"""
import setuptools
try:
from setuptools import setup
except ImportError:
from distutils.core import setup

with open("README.md", "r") as fh:
long_description = fh.read()

setuptools.setup(
setup(
name="pyXSteam",
version="0.4.6", # version number for documentation does not auto-update
author="drunsinn",
Expand All @@ -24,7 +27,7 @@
"Topic :: Scientific/Engineering :: Physics",
"Development Status :: 4 - Beta"
],
packages=setuptools.find_packages(exclude=['docs', 'tests']),
packages=['pyXSteam'],
install_requires=[],
python_requires='>=3.6',
include_package_data=True,
Expand Down

0 comments on commit 0ecb603

Please sign in to comment.