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
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import sys
|
|
||||||
import os
|
import os
|
||||||
import site
|
|
||||||
from lbrynet import __version__
|
from lbrynet import __version__
|
||||||
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
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"
|
|
||||||
|
|
||||||
|
|
||||||
# TODO: find a way to keep this in sync with requirements.txt
|
# TODO: find a way to keep this in sync with requirements.txt
|
||||||
#
|
#
|
||||||
|
@ -44,7 +31,6 @@ requires = [
|
||||||
'zope.interface',
|
'zope.interface',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
console_scripts = [
|
console_scripts = [
|
||||||
'lbrynet-daemon = lbrynet.lbrynet_daemon.DaemonControl:start',
|
'lbrynet-daemon = lbrynet.lbrynet_daemon.DaemonControl:start',
|
||||||
'stop-lbrynet-daemon = lbrynet.lbrynet_daemon.DaemonControl:stop',
|
'stop-lbrynet-daemon = lbrynet.lbrynet_daemon.DaemonControl:stop',
|
||||||
|
@ -58,17 +44,23 @@ def package_files(directory):
|
||||||
yield os.path.join('..', path, filename)
|
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(
|
||||||
setup(name=package_name,
|
name=package_name,
|
||||||
description=description,
|
|
||||||
version=__version__,
|
version=__version__,
|
||||||
maintainer=maintainer,
|
author="LBRY Inc.",
|
||||||
maintainer_email=maintainer_email,
|
author_email="hello@lbry.io",
|
||||||
url=url,
|
url="https://lbry.io",
|
||||||
author=author,
|
description="A decentralized media library and marketplace",
|
||||||
keywords=keywords,
|
long_description=long_description,
|
||||||
|
keywords="lbry protocol media",
|
||||||
|
license='MIT',
|
||||||
|
|
||||||
packages=find_packages(base_dir, exclude=['tests']),
|
packages=find_packages(base_dir, exclude=['tests']),
|
||||||
install_requires=requires,
|
install_requires=requires,
|
||||||
entry_points={'console_scripts': console_scripts},
|
entry_points={'console_scripts': console_scripts},
|
||||||
|
|
Loading…
Reference in a new issue