Browse Source

Don't fake the version anymore

pull/8/head
Luke Murphy 5 years ago
parent
commit
b3ae2ba776
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 4
      bin/etherpump
  2. 1
      etherpump/__init__.py
  3. 3
      setup.py

4
bin/etherpump

@ -1,6 +1,6 @@
#!/usr/bin/env python3
from __future__ import print_function
from etherpump import VERSION
import sys
usage = """Usage:
@ -35,7 +35,7 @@ try:
print(usage)
sys.exit(0)
elif any(arg in args for arg in ['--version', '-v']):
print('etherpump 0.0.1')
print('etherpump {}'.format(VERSION))
sys.exit(0)
except IndexError:

1
etherpump/__init__.py

@ -1,3 +1,4 @@
import os
DATAPATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), "data")
VERSION = '0.0.1'

3
setup.py

@ -1,5 +1,6 @@
#!/usr/bin/env python3
from etherpump import VERSION
from distutils.core import setup
import os
@ -17,7 +18,7 @@ def find(p, d):
setup(
name='etherpump',
version='0.0.1',
version=VERSION,
author='Varia members',
author_email='info@varia.zone',
packages=['etherpump', 'etherpump.commands'],

Loading…
Cancel
Save