|
1 |
| -from setuptools import setup, find_packages |
| 1 | +#!/usr/bin/env python |
| 2 | +"""Setup script""" |
2 | 3 |
|
3 |
| -with open("README.rst", "r") as fh: |
4 |
| - long_description = fh.read() |
| 4 | +from __pkginfo__ import \ |
| 5 | + author, author_email, install_requires, \ |
| 6 | + license, long_description, classifiers, \ |
| 7 | + entry_points, modname, py_modules, \ |
| 8 | + short_desc, VERSION, web |
5 | 9 |
|
| 10 | +from setuptools import setup, find_packages |
6 | 11 | setup(
|
7 |
| - name="domdf_python_tools", |
8 |
| - version="0.1.10", |
9 |
| - author='Dominic Davis-Foster', |
10 |
| - |
11 |
| - packages=find_packages(), |
12 |
| - license="OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", |
13 |
| - url="https://github.com/domdfcoding/domdf_python_tools", |
14 |
| - description='Helpful functions for Python', |
15 |
| - long_description=long_description, |
16 |
| - long_description_content_type="text/x-rst", |
17 |
| - classifiers=[ |
18 |
| - "Programming Language :: Python :: 3", |
19 |
| - "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", |
20 |
| - "Operating System :: OS Independent", |
21 |
| - "Development Status :: 4 - Beta", |
22 |
| - ], |
23 |
| - |
24 |
| -) |
| 12 | + author = author, |
| 13 | + author_email = author_email, |
| 14 | + classifiers = classifiers, |
| 15 | + description = short_desc, |
| 16 | + entry_points = entry_points, |
| 17 | + install_requires = install_requires, |
| 18 | + license = license, |
| 19 | + long_description = long_description, |
| 20 | + name = modname, |
| 21 | + packages = find_packages(), |
| 22 | + py_modules = py_modules, |
| 23 | + url = web, |
| 24 | + version = VERSION) |
0 commit comments