Skip to content

Commit

Permalink
Use single source of version
Browse files Browse the repository at this point in the history
  • Loading branch information
nh3 committed Jul 25, 2019
1 parent 9bb570b commit cf883d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

3 changes: 2 additions & 1 deletion scanpy_scripts/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
"""
Provides version, author and exports
"""
import pkg_resources

__version__ = '0.2.3'
__version__ = pkg_resources.get_distribution('scanpy-scripts').version

__author__ = ', '.join([
'Ni Huang',
Expand Down
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@
with open('README.md', 'r') as fh:
long_description = fh.read()

with open('VERSION', 'r') as fh:
version = fh.read().rstrip()

setup(
name='scanpy-scripts',
version=version,
version='0.2.3',
author='nh3',
author_email='[email protected]',
description='Scripts for using scanpy from the command line',
Expand Down

0 comments on commit cf883d6

Please sign in to comment.