|
1 | 1 | from setuptools import setup, find_packages |
2 | 2 |
|
3 | | -with open('requirements.txt', 'r') as fh: |
| 3 | +with open("requirements.txt", "r") as fh: |
4 | 4 | dependencies = [l.strip() for l in fh] |
5 | 5 |
|
6 | | -VERSION='4.1.9' |
| 6 | +VERSION = "4.1.10" |
7 | 7 | setup( |
8 | | - name='runestone', |
9 | | - description='Sphinx extensions for writing interactive documents.', |
| 8 | + name="runestone", |
| 9 | + description="Sphinx extensions for writing interactive documents.", |
10 | 10 | version=VERSION, |
11 | | - author = 'Brad Miller', |
12 | | - author_email = 'bonelake@mac.com', |
13 | | - packages= find_packages(exclude=['*.*.test']), |
| 11 | + author="Brad Miller", |
| 12 | + author_email="bonelake@mac.com", |
| 13 | + packages=find_packages(exclude=["*.*.test"]), |
14 | 14 | install_requires=dependencies, |
15 | | - include_package_data = True, |
16 | | - zip_safe = False, |
17 | | - package_dir = {'runestone' : 'runestone'}, |
18 | | - package_data = { '' : ['js/*.js', 'css/*.css', '*.txt']}, |
19 | | - license='GPL', |
20 | | - url = 'https://github.com/RunestoneInteractive/RunestoneComponents', |
21 | | - download_url = 'https://github.com/RunestoneInteractive/RunestoneComponents/tarball/{}'.format(VERSION), |
22 | | - keywords = ['runestone', 'sphinx', 'ebook'], # arbitrary keywords |
23 | | - classifiers=('Development Status :: 5 - Production/Stable', |
24 | | - 'Environment :: Console', |
25 | | - 'Environment :: Plugins', |
26 | | - 'Environment :: Web Environment', |
27 | | - 'Framework :: Sphinx :: Extension', |
28 | | - 'Intended Audience :: Education', |
29 | | - 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', |
30 | | - 'Operating System :: MacOS', |
31 | | - 'Operating System :: Unix', |
32 | | - 'Programming Language :: Python', |
33 | | - 'Programming Language :: Python :: 2.7', |
34 | | - 'Programming Language :: Python :: 3.7', |
35 | | - 'Topic :: Education', |
36 | | - 'Topic :: Text Processing :: Markup'), |
| 15 | + include_package_data=True, |
| 16 | + zip_safe=False, |
| 17 | + package_dir={"runestone": "runestone"}, |
| 18 | + package_data={"": ["js/*.js", "css/*.css", "*.txt"]}, |
| 19 | + license="GPL", |
| 20 | + url="https://github.com/RunestoneInteractive/RunestoneComponents", |
| 21 | + download_url="https://github.com/RunestoneInteractive/RunestoneComponents/tarball/{}".format( |
| 22 | + VERSION |
| 23 | + ), |
| 24 | + keywords=["runestone", "sphinx", "ebook"], # arbitrary keywords |
| 25 | + classifiers=( |
| 26 | + "Development Status :: 5 - Production/Stable", |
| 27 | + "Environment :: Console", |
| 28 | + "Environment :: Plugins", |
| 29 | + "Environment :: Web Environment", |
| 30 | + "Framework :: Sphinx :: Extension", |
| 31 | + "Intended Audience :: Education", |
| 32 | + "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", |
| 33 | + "Operating System :: MacOS", |
| 34 | + "Operating System :: Unix", |
| 35 | + "Programming Language :: Python", |
| 36 | + "Programming Language :: Python :: 2.7", |
| 37 | + "Programming Language :: Python :: 3.7", |
| 38 | + "Topic :: Education", |
| 39 | + "Topic :: Text Processing :: Markup", |
| 40 | + ), |
37 | 41 | # data_files=[('common',['runestone/common/*']), |
38 | 42 | # ('project/template', ['newproject_copy_me/*']) |
39 | 43 | # ], |
40 | | - long_description=open('README.rst').read(), |
41 | | - long_description_content_type='text/x-rst', |
42 | | - entry_points = { |
43 | | - 'console_scripts': [ |
44 | | - 'runestone = runestone.__main__:cli' |
45 | | - ] |
46 | | - } |
| 44 | + long_description=open("README.rst").read(), |
| 45 | + long_description_content_type="text/x-rst", |
| 46 | + entry_points={"console_scripts": ["runestone = runestone.__main__:cli"]}, |
47 | 47 | ) |
0 commit comments