-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (30 loc) · 846 Bytes
/
setup.py
File metadata and controls
35 lines (30 loc) · 846 Bytes
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
from setuptools import setup, find_packages
with open('README.rst') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
# Copy dependencies
with open('requirements.txt') as f:
requirements = f.read().splitlines()
version = (
open("proposal/__init__.py")
.read()
.split("__version__ = ")[-1]
.split("\n")[0]
.strip("")
.strip("'")
.strip('"')
)
setup(
name='proposal',
version=version,
description='Proposal generator for a product presentation',
long_description=readme,
author='Vladislav Voitenok',
author_email='vleduser@gmail.com',
url='https://github.com/vled12/proposal',
license=license,
include_package_data=True,
packages=find_packages(exclude=('tests', 'docs')),
install_requires=requirements
)