Added minimal setup script and MANIFEST.in for packaging

This commit is contained in:
Dmitri Bogomolov 2020-06-22 16:53:44 +03:00
parent f0f277f731
commit 6b63f8fbea
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13
2 changed files with 38 additions and 0 deletions

3
MANIFEST.in Normal file
View File

@ -0,0 +1,3 @@
include LICENSE
include README.md
include *.sh

35
setup.py Normal file
View File

@ -0,0 +1,35 @@
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
from minode import shared
README = open(os.path.join(
os.path.abspath(os.path.dirname(__file__)), 'README.md')).read()
name, version = shared.user_agent.strip(b'/').split(b':')
setup(
name=name.decode('utf-8'),
version=version.decode('utf-8'),
description='Python 3 implementation of the Bitmessage protocol.'
' Designed only to route objects inside the network.',
long_description=README,
license='MIT',
author='Krzysztof Oziomek',
url='https://github.com/g1itch/MiNode',
packages=find_packages(),
package_data={'': ['*.csv', 'tls/*.pem']},
entry_points={'console_scripts': ['minode = minode.main:main']},
classifiers=[
"License :: OSI Approved :: MIT License"
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Internet",
"Topic :: Security :: Cryptography",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)