This repository was archived by the owner on Sep 12, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (41 loc) · 1.33 KB
/
Copy pathsetup.py
File metadata and controls
46 lines (41 loc) · 1.33 KB
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
#!/usr/bin/env python3
"""
Set it up!!!!
volaupload welcomes all cucks
"""
from setuptools import setup
import os
import re
def version():
"""Thanks python!"""
with open("volaupload/_version.py") as filep:
return re.search('__version__ = "(.+?)"', filep.read()).group(1)
requirements = [l.strip() for l in open("requirements.txt").readlines()]
if os.name == "nt":
requirements += "win-unicode-console", "colorama"
setup(
name="volaupload",
version=version(),
description="Upload files to volafile.io",
long_description=open("README.rst").read(),
url="https://github.com/RealDolos/volaupload",
license="MIT",
author="RealDolos",
author_email="[email protected]",
packages=['volaupload'],
entry_points={"console_scripts": ["volaupload = volaupload.__main__:run"]},
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Internet :: WWW/HTTP",
"Topic :: System :: Archiving",
"Topic :: Utilities",
],
install_requires=requirements
)