forked from fabiommendes/colortools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
60 lines (52 loc) · 1.61 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
55
56
57
58
59
60
# -*- coding: utf8 -*-
#
# This file were created by Python Boilerplate. Use boilerplate to start simple
# usable and best-practices compliant Python projects.
#
# Learn more about it at: http://github.com/fabiommendes/boilerplate/
#
import os
from setuptools import setup, find_packages
# Meta information
name = 'colortools'
project = 'colortools'
author = 'Fábio Macêdo Mendes'
version = open('VERSION').read().strip()
dirname = os.path.dirname(__file__)
# Save version and author to __meta__.py
file_name = os.path.join(dirname, 'src', project, '__meta__.py')
with open(file_name, 'w', encoding='utf-8') as F:
F.write('__version__ = %r\n'
'__author__ = %r\n' % (version, author))
setup(
# Basic info
name=name,
version=version,
author=author,
author_email='[email protected]',
url='',
description='A short description for your project.',
long_description=open('README.rst').read(),
# Classifiers (see https://pypi.python.org/pypi?%3Aaction=list_classifiers)
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries',
],
# Packages and depencies
package_dir={'': 'src'},
packages=find_packages('src'),
install_requires=[],
extras_require={
'dev': [
'pytest',
'python-boilerplate',
],
},
# Other configurations
zip_safe=False,
platforms='any',
)