forked from PetterKraabol/Twitch-Python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (39 loc) · 1.38 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
42
43
44
#!/usr/bin/env python
import os
from pipenv.project import Project
from pipenv.utils import convert_deps_to_pip
from setuptools import setup, find_packages
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'readme.md'), encoding='utf-8') as f:
readme = f.read()
pipfile = Project(chdir=False).parsed_pipfile
requirements = convert_deps_to_pip(pipfile['packages'], r=False)
test_requirements = convert_deps_to_pip(pipfile['dev-packages'], r=False)
setup_requirements = ['pipenv', 'setuptools']
setup(
author='Petter Kraabøl',
author_email='[email protected]',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.7',
],
description='Twitch module for Python',
install_requires=requirements,
license='MIT',
long_description=readme,
long_description_content_type='text/markdown',
include_package_data=True,
keywords='Twitch API',
name='twitch-python',
packages=find_packages(),
python_requires=">=3.7",
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/PetterKraabol/Twitch-Python',
version='0.0.18',
zip_safe=True,
)