Skip to content

Commit

Permalink
lint and fix versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasyu888 committed Mar 12, 2022
1 parent 8473178 commit 071c70e
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 17 deletions.
4 changes: 3 additions & 1 deletion challengeutils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from . import discussion
from . import permissions
from .__version__ import __version__
from .__version__ import __version__

__all__ = [discussion, permissions, __version__]
31 changes: 16 additions & 15 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ license = Apache
license_file = LICENSE
platforms = any
classifiers =
Development Status :: 5 - Production/Stable
Programming Language :: Python
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Operating System :: MacOS
Operating System :: Microsoft :: Windows
Operating System :: Unix
Operating System :: POSIX :: Linux
Intended Audience :: Developers
Intended Audience :: Science/Research
License :: OSI Approved :: Apache Software License
Topic :: Software Development :: Libraries
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Bio-Informatics
Development Status :: 5 - Production/Stable
Programming Language :: Python
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Operating System :: MacOS
Operating System :: Microsoft :: Windows
Operating System :: Unix
Operating System :: POSIX :: Linux
Intended Audience :: Developers
Intended Audience :: Science/Research
License :: OSI Approved :: Apache Software License
Topic :: Software Development :: Libraries
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Bio-Informatics
project_urls =
Bug Tracker = https://github.com/Sage-Bionetworks/challengeutils/issues
Source Code = https://github.com/Sage-Bionetworks/challengeutil
Expand All @@ -35,6 +35,7 @@ project_urls =
packages = find:
install_requires =
pandas>=1.1.5
requests
synapseclient>=2.4.0
python_requires = >3.6, <3.10
include_package_data = True
Expand Down
11 changes: 10 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
"""Setup"""
import os
from setuptools import setup

setup()
# figure out the version
about = {}
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "challengeutils", "__version__.py")) as f:
exec(f.read(), about)

setup(
version=about["__version__"]
)

0 comments on commit 071c70e

Please sign in to comment.