11#!/usr/bin/env python
2- # -*- coding : utf-8 -*-
2+ # -*- encoding : utf-8 -*-
33
44from __future__ import absolute_import
55from __future__ import print_function
1010from os .path import dirname
1111from os .path import join
1212from os .path import splitext
13+
1314from setuptools import find_packages
1415from setuptools import setup
1516
@@ -22,16 +23,20 @@ def read(*names, **kwargs):
2223
2324
2425setup (
25- name = 'attributecode ' ,
26- version = '3.0.0.dev4 ' ,
26+ name = 'aboutcode-toolkit ' ,
27+ version = '3.0.0.dev6 ' ,
2728 license = 'Apache-2.0' ,
28- description = ('Document the provenance (origin and license) of '
29- 'third-party software using small text files. '
30- 'Collect inventories, generate attribution documentation.' ),
31- long_description = ('AttributeCode provides a simple way to document the'
29+ description = (
30+ 'AboutCode-toolkit is a tool to document the provenance (origin and license) of '
31+ 'third-party software using small text files. '
32+ 'Collect inventories, generate attribution documentation.'
33+ ),
34+ long_description = (
35+ 'AttributeCode provides a simple way to document the'
3236 'provenance (i.e. origin and license) of software components that'
3337 'you use in your project. This documentation is stored in *.ABOUT'
34- 'files, side-by-side with the documented code.' ),
38+ 'files, side-by-side with the documented code.'
39+ ),
3540 author = 'Chin-Yeung Li, Jillian Daguil, Thomas Druez, Philippe Ombredanne and others.' ,
36413742 url = 'http://aboutcode.org' ,
@@ -46,59 +51,35 @@ def read(*names, **kwargs):
4651 'Programming Language :: Python' ,
4752 'Programming Language :: Python :: 2' ,
4853 'Programming Language :: Python :: 2.7' ,
54+ 'Programming Language :: Python :: 3' ,
55+ 'Programming Language :: Python :: 3.6' ,
56+ 'Intended Audience :: Developers' ,
4957 'License :: OSI Approved :: Apache Software License' ,
5058 'Operating System :: OS Independent' ,
51- 'Intended Audience :: Developers' ,
5259 'Topic :: Software Development' ,
5360 'Topic :: Software Development :: Documentation' ,
5461 'Topic :: Software Development :: Quality Assurance' ,
5562 'Topic :: System :: Software Distribution' ,
5663 'Topic :: Utilities' ,
5764 ],
5865 keywords = [
59- 'license' , 'about' , 'metadata' , 'package' , 'copyright' ,
66+ 'license' , 'about' , 'metadata' , 'package' , 'copyright' ,
6067 'attribution' , 'software' , 'inventory' ,
6168 ],
62- data_files = [('about' ,
63- [
64- 'about.ABOUT' ,
65- 'about.bat' ,
66- 'about' ,
67- 'configure.bat' ,
68- 'configure' ,
69- 'about.cfg' ,
70- 'README.rst' ,
71- 'apache-2.0.LICENSE' ,
72- 'NOTICE' ,
73- 'SPEC' ,
74- 'USAGE.rst' ,
75- ]),
76- ],
77-
78- entry_points = '''
79- [console_scripts]
80- about-code=attributecode.cmd:cli
81- ''' ,
8269 install_requires = [
83- 'jinja2 >= 2.7.3 , < 2.8 ' ,
84- 'click >= 3.2 , < 4 ' ,
85- 'unicodecsv >= 0.9.4, < 1.0' ,
70+ 'jinja2 >= 2.9 , < 3.0 ' ,
71+ 'click >= 6.7 , < 7.0 ' ,
72+ "backports.csv ; python_version<'3.6'" ,
8673 'pyyaml >= 3.11, < 3.13' ,
87- 'boolean.py' ,
88- 'license_expression' ,
89- ],
90-
74+ 'boolean.py >= 3.5, < 4.0' ,
75+ 'license_expression >= 0.94, < 1.0' ,
76+ ],
9177 extras_require = {
92- 'base' : [
93- 'certifi' ,
94- 'setuptools' ,
95- 'wheel' ,
96- 'pip' ,
97- 'wincertstore' ,
98- ],
99- 'dev' : [
100- 'pytest' ,
101- 'py' ,
102- ],
103- }
78+ ":python_version < '3.6'" : ['backports.csv' ],
79+ },
80+ entry_points = {
81+ 'console_scripts' : [
82+ 'about-code=attributecode.cmd:cli' ,
83+ ]
84+ },
10485)
0 commit comments