-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
47 lines (41 loc) · 1.31 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
45
46
47
# Re-built by Itz-fork
# Original Author: Codec04
# Project: Gofile2
import os
from setuptools import setup, find_packages
from gofile2 import __version__ as v
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
if os.path.isfile('requirements.txt'):
with open('requirements.txt') as req:
reques = req.read().splitlines()
else:
reques = [
'requests'
]
if os.path.isfile('README.md'):
with open(('README.md'), encoding='utf-8') as readmeh:
big_description = readmeh.read()
else:
big_description = "Gofile2 is an API wrapper for Gofile API"
setup(name='gofile2',
version=v,
description='An API wrapper for Gofile API',
url='https://github.com/Itz-fork/Gofile2',
author='Itz-fork, Codec04',
author_email='[email protected]',
license='MIT',
packages=find_packages(),
download_url=f"https://github.com/Itz-fork/Gofile2/releases/tag/Gofile2-{v}",
keywords=['Gofile', 'Api-wrapper', 'Gofile2'],
long_description=big_description,
long_description_content_type='text/markdown',
install_requires=reques,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Education',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.9',
],
)