-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
40 lines (34 loc) · 1.29 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
import os
from setuptools import find_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
about = {}
with open(os.path.join(here, 'ddd', '__version__.py')) as f:
exec(f.read(), about)
def read_requirements(req_file):
with open(os.path.join('requirements', req_file)) as req:
return [line.strip() for line in req.readlines() if line.strip() and not line.strip().startswith('#')]
requirements = read_requirements('base.txt')
setup(
name='py-ddd',
packages=find_packages(exclude=['tests*']),
include_package_data=True,
version=about['__version__'],
description='Domain-Driven Design framework for Python',
url='https://github.com/pristupa/ddd',
author='Pavel V. Pristupa',
author_email='[email protected]',
license='MIT',
install_requires=requirements,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Development Status :: 3 - Alpha',
'Operating System :: OS Independent',
'Environment :: Web Environment',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries :: Application Frameworks',
],
)