|
1
|
|
|
# Always prefer setuptools over distutils |
|
2
|
|
|
from setuptools import setup, find_packages |
|
3
|
|
|
|
|
4
|
|
|
|
|
5
|
|
|
setup( |
|
6
|
|
|
name='pyjection', |
|
7
|
|
|
|
|
8
|
|
|
# Versions should comply with PEP440. For a discussion on single-sourcing |
|
9
|
|
|
# the version across setup.py and the project code, see |
|
10
|
|
|
# https://packaging.python.org/en/latest/single_source_version.html |
|
11
|
|
|
version='1.0.0', |
|
12
|
|
|
|
|
13
|
|
|
description='Pyjection is a lightweight python dependency injection library', |
|
14
|
|
|
|
|
15
|
|
|
# The project's main homepage. |
|
16
|
|
|
url='https://github.com/Darkheir/pyjection', |
|
17
|
|
|
|
|
18
|
|
|
# Author details |
|
19
|
|
|
author='Raphael Cohen', |
|
20
|
|
|
author_email='[email protected]', |
|
21
|
|
|
|
|
22
|
|
|
# Choose your license |
|
23
|
|
|
license='MIT', |
|
24
|
|
|
|
|
25
|
|
|
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers |
|
26
|
|
|
classifiers=[ |
|
27
|
|
|
'Development Status :: 4 - Beta', |
|
28
|
|
|
'Operating System :: OS Independent', |
|
29
|
|
|
'Intended Audience :: Developers', |
|
30
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules', |
|
31
|
|
|
'License :: OSI Approved :: MIT License', |
|
32
|
|
|
'Programming Language :: Python :: 3', |
|
33
|
|
|
'Programming Language :: Python :: 3.3', |
|
34
|
|
|
'Programming Language :: Python :: 3.4', |
|
35
|
|
|
'Natural Language :: English', |
|
36
|
|
|
], |
|
37
|
|
|
|
|
38
|
|
|
# What does your project relate to? |
|
39
|
|
|
keywords='dependency injection dependency-injection development', |
|
40
|
|
|
|
|
41
|
|
|
# You can just specify the packages manually here if your project is |
|
42
|
|
|
# simple. Or you can use find_packages(). |
|
43
|
|
|
packages=find_packages(exclude=['contrib', 'docs', 'tests*']), |
|
44
|
|
|
|
|
45
|
|
|
# List additional groups of dependencies here (e.g. development |
|
46
|
|
|
# dependencies). You can install these using the following syntax, |
|
47
|
|
|
# for example: |
|
48
|
|
|
# $ pip install -e .[dev,test] |
|
49
|
|
|
extras_require={ |
|
50
|
|
|
'test': ['coverage'], |
|
51
|
|
|
}, |
|
52
|
|
|
|
|
53
|
|
|
) |
|
54
|
|
|
|