From 2abc13f23ccfd6164e768e8bed35ffa785385e57 Mon Sep 17 00:00:00 2001 From: Scott King Date: Thu, 23 Feb 2017 03:21:18 -0700 Subject: [PATCH 1/2] Creation of a setup.py --- setup.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..d3dfe51a --- /dev/null +++ b/setup.py @@ -0,0 +1,50 @@ +import os + +from setuptools import setup, find_packages + + +here = os.path.abspath(os.path.dirname(__file__)) +with open(os.path.join(here, 'README.md'), encoding='utf-8') as f: + README = f.read() +with open(os.path.join(here, 'CHANGES.txt'), encoding='utf-8') as f: + CHANGES = f.read() + + +setup( + name='pybitmessage', + version='0.6', + description='', + long_description=README, + license='MIT', + # TODO: add author info + #author='', + #author_email='', + url='https://github.com/Bitmessage/PyBitmessage/', + # TODO: add keywords + #keywords='', + install_requires = ['hashlib', 'sqlite3', 'ctypes', 'curses', 'dialog', 'PyQt4', 'msgpack-python'], + classifiers = [ + "License :: OSI Approved :: MIT License" + "Operating System :: MacOS :: MacOS X", + "Operating System :: Microsoft :: Windows", + "Operating System :: POSIX :: Linux", + "Programming Language :: Python :: 2.7.3", + "Programming Language :: Python :: 2.7.4", + "Programming Language :: Python :: 2.7.5", + "Programming Language :: Python :: 2.7.6", + "Programming Language :: Python :: 2.7.7", + "Programming Language :: Python :: 2.7.8", + "Programming Language :: Python :: 2.7.9", + "Programming Language :: Python :: 2.7.10", + "Programming Language :: Python :: 2.7.11", + "Programming Language :: Python :: 2.7.12", + "Programming Language :: Python :: 2.7.13", + ], + packages=find_packages(include=['src']) + include_package_data=True, + zip_safe=False, + entry_points="""\ + [console_scripts] + bitmessage = src.bitmessagemain:Main.start + """, +) -- 2.45.1 From 61b55466d0ff50e7c2644cca61e78b2110c3dea5 Mon Sep 17 00:00:00 2001 From: Scott King Date: Thu, 23 Feb 2017 03:22:58 -0700 Subject: [PATCH 2/2] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d3dfe51a..e9ae1384 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ setup( url='https://github.com/Bitmessage/PyBitmessage/', # TODO: add keywords #keywords='', - install_requires = ['hashlib', 'sqlite3', 'ctypes', 'curses', 'dialog', 'PyQt4', 'msgpack-python'], + install_requires = ['hashlib', 'sqlite3', 'ctypes', 'curses', 'dialog', 'PyQt4', 'msgpack-python', 'pyopencl'], classifiers = [ "License :: OSI Approved :: MIT License" "Operating System :: MacOS :: MacOS X", -- 2.45.1