-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (37 loc) · 1.26 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
38
39
40
41
import os
import codecs
import setuptools
PROJECT = os.path.abspath(os.path.dirname(__file__))
REQUIREMENTS_PATH = "requirements/requirements.txt"
# The text of the README file
with open("README.md", "r") as f:
long_description = f.read()
def read(path):
with codecs.open(os.path.join(PROJECT, path), "rb", "utf-8") as f:
return f.read()
def get_requirements(path=REQUIREMENTS_PATH):
"""
Returns a list of requirements defined by REQUIREMENTS_PATH.
"""
requirements = []
for line in read(path).splitlines():
requirements.append(line.strip())
return requirements
setuptools.setup(
name='pyYouTubeAnalysis',
version='1.1',
description='Interacting with YouTube Data API and running analysis using NLP',
long_description=long_description,
long_description_content_type="text/markdown",
author='Jyotika Singh',
packages=setuptools.find_packages(where=PROJECT),
url="https://github.com/jsingh811/pyYouTubeAnalysis",
install_requires=get_requirements(),
python_requires='>=3.6, <4',
py_modules=["pyYouTubeAnalysis"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
]
)