update setup.py
This commit is contained in:
parent
031d9c28ed
commit
be4e1c99d5
1 changed files with 23 additions and 31 deletions
40
setup.py
40
setup.py
|
@ -1,21 +1,8 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import sys
|
||||
import os
|
||||
import site
|
||||
from lbrynet import __version__
|
||||
|
||||
|
||||
base_dir = os.path.abspath(os.path.dirname(__file__))
|
||||
package_name = "lbrynet"
|
||||
dist_name = "LBRY"
|
||||
description = "A decentralized media library and marketplace"
|
||||
author = "LBRY, Inc"
|
||||
url = "lbry.io"
|
||||
maintainer = "Jack Robison"
|
||||
maintainer_email = "jack@lbry.io"
|
||||
keywords = "LBRY"
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
# TODO: find a way to keep this in sync with requirements.txt
|
||||
#
|
||||
|
@ -44,7 +31,6 @@ requires = [
|
|||
'zope.interface',
|
||||
]
|
||||
|
||||
|
||||
console_scripts = [
|
||||
'lbrynet-daemon = lbrynet.lbrynet_daemon.DaemonControl:start',
|
||||
'stop-lbrynet-daemon = lbrynet.lbrynet_daemon.DaemonControl:stop',
|
||||
|
@ -58,17 +44,23 @@ def package_files(directory):
|
|||
yield os.path.join('..', path, filename)
|
||||
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
package_name = "lbrynet"
|
||||
base_dir = os.path.abspath(os.path.dirname(__file__))
|
||||
# Get the long description from the README file
|
||||
with open(os.path.join(base_dir, 'README.md'), encoding='utf-8') as f:
|
||||
long_description = f.read()
|
||||
|
||||
|
||||
setup(name=package_name,
|
||||
description=description,
|
||||
setup(
|
||||
name=package_name,
|
||||
version=__version__,
|
||||
maintainer=maintainer,
|
||||
maintainer_email=maintainer_email,
|
||||
url=url,
|
||||
author=author,
|
||||
keywords=keywords,
|
||||
author="LBRY Inc.",
|
||||
author_email="hello@lbry.io",
|
||||
url="https://lbry.io",
|
||||
description="A decentralized media library and marketplace",
|
||||
long_description=long_description,
|
||||
keywords="lbry protocol media",
|
||||
license='MIT',
|
||||
|
||||
packages=find_packages(base_dir, exclude=['tests']),
|
||||
install_requires=requires,
|
||||
entry_points={'console_scripts': console_scripts},
|
||||
|
|
Loading…
Reference in a new issue