clean up and create requirements.txt

This commit is contained in:
James Prestwich 2017-09-04 10:06:30 -06:00
parent 628352de33
commit 8aefbd2df5
No known key found for this signature in database
GPG Key ID: 519E010A79028CCC
3 changed files with 9 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
*.pyc *.pyc
xcat.egg-info/ xcat.egg-info/
.tmp/ .tmp/
venv/

View File

@ -8,12 +8,15 @@ setup(
entry_points={ entry_points={
"console_scripts": ['xcat = xcat.cli:main'] "console_scripts": ['xcat = xcat.cli:main']
}, },
description="Xcat is a package that creates cross-chain atomic transactions.", description=("Xcat is a package that "
"creates cross-chain atomic transactions."),
author="arcalinea and arielgabizon", author="arcalinea and arielgabizon",
author_email="info@z.cash", author_email="info@z.cash",
license="MIT", license="MIT",
url="http://github.com/zcash/xcat", url="http://github.com/zcash/xcat",
install_requires=['python-bitcoinlib', 'plyvel'], install_requires=['python-bitcoinlib', 'plyvel'],
dependency_links=['http://github.com/arcalinea/python-zcashlib/tarball/master'], dependency_links=[
'http://github.com/arcalinea/python-zcashlib/tarball/master'
],
packages=find_packages() packages=find_packages()
) )

View File

@ -15,6 +15,7 @@ class SimpleTestCase(unittest.TestCase):
def test_importtrade(self): def test_importtrade(self):
trade = cli.importtrade('test', self.__class__.hexstr) trade = cli.importtrade('test', self.__class__.hexstr)
class CliTest(SimpleTestCase): class CliTest(SimpleTestCase):
def test_findtrade(self): def test_findtrade(self):
trade = cli.findtrade('test') trade = cli.findtrade('test')