version bump to 0.3dev, and moved version into separate file to keep things DRY

This commit is contained in:
Micah Lee 2014-06-09 23:31:57 -04:00
parent f51cca2c17
commit 08f83dbfc5
2 changed files with 4 additions and 1 deletions

View File

@ -12,6 +12,8 @@ if sys.argv[-1] == 'publish':
subprocess.call(['python', 'setup.py', 'sdist', 'upload', '--sign'])
sys.exit()
version = open('version').read().strip()
def get_data_files():
if platform.system == 'Linux':
print 'linux oh yeah'
@ -22,7 +24,7 @@ def get_data_files():
setup(
name='onionshare',
version='0.2',
version=version,
description='OnionShare lets you securely and anonymously share a file of any size with someone. It works by starting a web server, making it accessible as a Tor hidden service, and generating an unguessable URL to access and download the file.',
long_description="""OnionShare lets you securely and anonymously share a file of any size with someone. It works by starting a web server, making it accessible as a Tor hidden service, and generating an unguessable URL to access and download the file. It doesn't require setting up a server on the internet somewhere or using a third party filesharing service. You host the file on your own computer and use a Tor hidden service to make it temporarily accessible over the internet. The other user just needs to use Tor Browser to download the file from you.""",
author='Micah Lee',

1
version Normal file
View File

@ -0,0 +1 @@
0.3dev