-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·34 lines (30 loc) · 1.43 KB
/
setup.py
File metadata and controls
executable file
·34 lines (30 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import setuptools
import os
import sys
sys.path.append(os.path.dirname(__file__))
if True: # just to sto my IDE's script formatter moving the following import to the start of the script
from __project__ import project_name, version
with open(os.path.join(os.path.dirname(__file__), "ReadMe.md"), "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name=project_name,
version=version,
author="emendir",
description="A set of tools for working with IPFS in Python: a programmer-friendly API wrapper, P2P data-transmission machinery, and accelerated connections to known peers",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://ipfs.io/ipns/k2k4r8nismm5mmgrox2fci816xvj4l4cudnuc55gkfoealjuiaexbsup#IPFS-Toolkit",
project_urls={
# "Source Code on IPNS": "https://ipfs.io/ipns/k2k4r8k7h909zdodsvbxe32sahpfdkqcqqn1npblummw4df6iv7dj5xh",
"Github": "https://github.com/emendir/IPFS-Toolkit-Python",
},
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
py_modules=['ipfs_api', 'ipfs_datatransmission', 'ipfs_lns',
'ipfs_cli', 'ipfs_peers', 'IPFS_API', 'IPFS_LNS', 'IPFS_DataTransmission'],
packages=setuptools.find_packages(),
python_requires=">=3.6",
install_requires=[line.strip() for line in open("requirements.txt").readlines()],
)