forked from pyjokes/pyjokes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (33 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
"Setup script for the pyencourage package"
import sys
from setuptools import setup, find_packages
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def main():
"Executes setup when this script is the top-level"
import pyencourage as app
setup(
name=app.__project__,
version=app.__version__,
description=app.__doc__,
long_description=read('README.rst'),
classifiers=app.__classifiers__,
author=app.__author__,
author_email=app.__author_email__,
url=app.__url__,
license=[
c.rsplit('::', 1)[1].strip()
for c in app.__classifiers__
if c.startswith('License ::')
][0],
keywords=app.__keywords__,
packages=find_packages(),
include_package_data=True,
platforms=app.__platforms__,
entry_points=app.__entry_points__,
install_requires=app.__requires__,
extras_require=app.__extra_requires__,
)
if __name__ == '__main__':
main()