Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Commit

Permalink
Change how setup.py gets version
Browse files Browse the repository at this point in the history
  • Loading branch information
Cobular committed Feb 1, 2021
1 parent 41c243d commit 50ee45f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions distest/__about__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.6.0"
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# encoding: utf-8

from setuptools import setup
import distest
from distest.__about__ import __version__

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

setup(
name="distest",
version=distest.__version__,
version=__version__,
description="Automate the testing of discord bots... With discord bots!",
long_description=long_description,
long_description_content_type="text/markdown",
Expand All @@ -18,7 +18,7 @@
author_email="python@jakecover.me",
license="MIT",
packages=["distest", "distest.TestInterface"],
install_requires=["discord.py>=1.5.0"],
install_requires=["discord.py>=1.5.0,<1.7.0"],
zip_safe=False,
classifiers=[
'License :: OSI Approved :: MIT License',
Expand Down

0 comments on commit 50ee45f

Please sign in to comment.