-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
42 lines (32 loc) · 1.04 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
from os import path
from codecs import open
from setuptools import setup, find_packages
NAME = 'jeanpaulstartui'
VERSION = '2.0.1'
DESCRIPTION = 'Launcher Ui'
AUTHOR = 'Cube Creative'
AUTHOR_EMAIL = '[email protected]'
_here = path.abspath(path.dirname(__file__))
_readme_filepath = path.join(_here, 'README.md')
_requirements_filepath = path.join(_here, 'requirements.txt')
if path.isfile(_readme_filepath):
with open(_readme_filepath, encoding='utf-8') as readme_file:
_long_description = readme_file.read()
else:
_long_description = 'Unable to load README.md'
if path.isfile(_requirements_filepath):
with open(_requirements_filepath) as requirements_file:
_requirements = requirements_file.readlines()
else:
_requirements = list()
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=_long_description,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
packages=find_packages(exclude=['tests']),
install_requires=_requirements,
include_package_data=True
)