forked from twisted/incremental
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (42 loc) · 1.35 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
#!/usr/bin/env python
from __future__ import absolute_import, division, print_function
import os
import sys
from setuptools import setup, find_packages
base_dir = os.path.dirname(__file__)
src_dir = os.path.join(base_dir, "src")
# We need to import outselves
sys.path.insert(0, src_dir)
import incremental
setup(
name='incremental',
version=incremental.__version__.base(),
maintainer='Amber Brown',
maintainer_email='[email protected]',
url="https://github.com/twisted/incremental",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
packages=find_packages("src", exclude=("exampleproj",)),
package_dir={"": "src"},
extras_require={
"scripts": [
"click>=6.0", "twisted>=16.4.0"
]
},
license="MIT",
zip_safe=False,
description="A small library that versions your Python projects.",
long_description=open('README.rst').read(),
entry_points="""
[distutils.setup_keywords]
use_incremental = incremental:_get_version
""",
)