forked from NITDgpOS/UIP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (38 loc) · 1005 Bytes
/
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
48
49
50
51
52
from setuptools import setup
import sys
def get_contents(filename):
file = open(filename, 'r').readlines()
out = []
for a in file:
out.append(a.strip())
return out
requirements = []
requirements += get_contents('requirements.txt')
if sys.platform.startswith('darwin'):
requirements += get_contents('mac-requirements.txt')
setup(
#Name of application:
name="UIP",
#Version (initial)
version="0.1.0",
#author details:
author="uip-dev",
author_email="uip.developers@gmail.com",
#packages:
packages=["uiplib"],
license="LICENSE.txt",
url="example.com",
#description
description="A library to get new wallpapers.",
long_description=open("README.md").read(),
#dependencies
install_requires=requirements,
#scripts to be run
scripts=[
"UIP"
],
#binaries that can be called from anywhere
entry_points = {
"console_scripts": [
"UIP = uiplib.UIP:main"]}
)