|
1 | 1 | from setuptools import find_packages
|
2 | 2 | from setuptools import setup
|
| 3 | + |
3 | 4 | import os
|
4 | 5 |
|
5 | 6 |
|
6 |
| -version = '2.0.0.dev0' |
7 |
| -shortdesc = 'Bootstrap Styles for YAFOWIL' |
8 |
| -longdesc = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() |
9 |
| -longdesc += open(os.path.join(os.path.dirname(__file__), 'CHANGES.rst')).read() |
10 |
| -longdesc += open(os.path.join(os.path.dirname(__file__), 'LICENSE.rst')).read() |
11 |
| -tests_require = ['yafowil[test]'] |
| 7 | +version = "2.0.0.dev0" |
| 8 | +shortdesc = "Bootstrap Styles for YAFOWIL" |
| 9 | +longdesc = open(os.path.join(os.path.dirname(__file__), "README.rst")).read() |
| 10 | +longdesc += open(os.path.join(os.path.dirname(__file__), "CHANGES.rst")).read() |
| 11 | +longdesc += open(os.path.join(os.path.dirname(__file__), "LICENSE.rst")).read() |
| 12 | +tests_require = ["yafowil[test]"] |
12 | 13 |
|
13 | 14 |
|
14 | 15 | setup(
|
15 |
| - name='yafowil.bootstrap', |
| 16 | + name="yafowil.bootstrap", |
16 | 17 | version=version,
|
17 | 18 | description=shortdesc,
|
18 | 19 | long_description=longdesc,
|
19 | 20 | classifiers=[
|
20 |
| - 'Environment :: Web Environment', |
21 |
| - 'Operating System :: OS Independent', |
22 |
| - 'Programming Language :: Python', |
23 |
| - 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', |
24 |
| - 'License :: OSI Approved :: BSD License', |
| 21 | + "Environment :: Web Environment", |
| 22 | + "Operating System :: OS Independent", |
| 23 | + "Programming Language :: Python", |
| 24 | + "Topic :: Internet :: WWW/HTTP :: Dynamic Content", |
| 25 | + "License :: OSI Approved :: BSD License", |
25 | 26 | ],
|
26 |
| - keywords='', |
27 |
| - author='BlueDynamics Alliance', |
28 |
| - |
29 |
| - url=u'https://github.com/bluedynamics/yafowil.bootstrap', |
30 |
| - license='Simplified BSD', |
31 |
| - packages=find_packages('src'), |
32 |
| - package_dir = {'': 'src'}, |
33 |
| - namespace_packages=['yafowil'], |
| 27 | + keywords="", |
| 28 | + author="BlueDynamics Alliance", |
| 29 | + |
| 30 | + url=u"https://github.com/bluedynamics/yafowil.bootstrap", |
| 31 | + license="Simplified BSD", |
| 32 | + packages=find_packages("src"), |
| 33 | + package_dir={"": "src"}, |
| 34 | + namespace_packages=["yafowil"], |
34 | 35 | include_package_data=True,
|
35 | 36 | zip_safe=False,
|
36 |
| - install_requires=[ |
37 |
| - 'setuptools', |
38 |
| - 'yafowil>2.2.99', |
39 |
| - ], |
| 37 | + install_requires=["setuptools", "yafowil>2.2.99",], |
40 | 38 | tests_require=tests_require,
|
41 |
| - extras_require = dict( |
42 |
| - test=tests_require, |
43 |
| - ), |
| 39 | + extras_require=dict(test=tests_require,), |
44 | 40 | test_suite="yafowil.bootstrap.tests.test_suite",
|
45 | 41 | entry_points="""
|
46 | 42 | [yafowil.plugin]
|
47 | 43 | register = yafowil.bootstrap:register
|
48 |
| - """) |
| 44 | + """, |
| 45 | +) |
0 commit comments