forked from dzanotelli/drypy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (44 loc) · 1.44 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
43
44
45
46
47
48
49
50
51
52
53
54
"""Dryrun for Python
(C) 2017 Daniele Zanotelli
"""
from setuptools import setup, find_packages
from codecs import open
from os import path
from pip.req import parse_requirements
from pip.download import PipSession
from drypy import get_version
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
# read requirements.txt file
required_file = parse_requirements("requirements.txt", session=PipSession())
required = [str(ir.req) for ir in required_file]
setup(
name="drypy",
version=get_version(),
description="Python utilities to perform dryrun.",
long_description=long_description,
url="https://github.com/dzanotelli/drypy",
author="Daniele Zanotelli",
author_email="dazano@gmail.com",
license="MIT",
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
],
keywords="dryrun",
packages=find_packages(exclude=["docs", "tests"]),
install_requires=required,
python_requires='>=3',
extras_require={
'dev': [],
},
package_data={},
entry_points={},
)