-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
29 lines (24 loc) · 1.09 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
import setuptools
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'requirements.txt'), encoding='utf-8') as f:
all_reqs = f.read().split('\n')
install_reqs = [x.strip() for x in all_reqs if 'git+' not in x]
dep_links = [x.strip().replace('git+', '') for x in all_reqs if 'git+' in x]
# read the contents of your README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setuptools.setup(
name="minimal_example_project",
version="1.0.3",
author='Michel Lacle',
author_email='[email protected]',
url='https://github.com/michel-lacle/minimal_example_project',
description="a minimal Python project example with unit testing, command line interface, PyPi publishing capabilities",
long_description=long_description,
long_description_content_type='text/markdown',
packages=setuptools.find_packages(where='src', exclude=['env', 'tests', 'infrastructure']),
include_package_data=True,
install_requires=install_reqs,
package_dir={'': 'src'},
dependency_links=dep_links)