-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
37 lines (29 loc) · 1.14 KB
/
setup.py
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
35
36
37
from os import path
from setuptools import setup, find_packages
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as readme_file:
readme = readme_file.read()
with open(path.join(here, 'VERSION'), encoding='utf-8') as version_file:
version = version_file.read()
with open(path.join(here, 'requirements.txt')) as requirements_file:
# Parse requirements.txt, ignoring any commented-out lines.
requirements = [line for line in requirements_file.read().splitlines()
if not line.startswith('#')]
setup(
name="BotYoutube",
version=version,
description="Python package for a BotCity bot.",
long_description=readme,
long_description_content_type='text/markdown',
packages=find_packages(exclude=['docs', 'tests']),
include_package_data=True,
package_data={
"BotYoutube": [
# When adding files here, remember to update MANIFEST.in as well,
# or else they will not be included in the distribution on PyPI!
# 'path/to/data_file',
'resources',
]
},
install_requires=requirements,
)