generated from sfarrens/pyralid-template
-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
33 lines (28 loc) · 1.03 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
#! /usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os
__name__ = 'lenspack'
release_info = {}
infopath = os.path.abspath(os.path.join(os.path.dirname(__file__),
__name__, 'info.py'))
with open(infopath) as open_file:
exec(open_file.read(), release_info)
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name=__name__,
author=release_info['__author__'],
author_email=release_info['__email__'],
version=release_info['__version__'],
url=release_info['__url__'],
packages=find_packages(),
install_requires=release_info['__requires__'],
license=release_info['__license__'],
description=release_info['__about__'],
long_description=long_description,
long_description_content_type='text/markdown',
setup_requires=release_info['__setup_requires__'],
tests_require=release_info['__tests_require__']
)