|
74 | 74 | "sphinxcontrib-httpdomain",
|
75 | 75 | "sphinxcontrib-mermaid>=0.3",
|
76 | 76 | "sphinx_rtd_theme",
|
77 |
| - |
78 |
| - # PyPi upload related |
79 |
| - "pypandoc" |
80 | 77 | ],
|
81 | 78 |
|
82 | 79 | # Dependencies for developing OctoPrint plugins
|
|
94 | 91 | #-----------------------------------------------------------------------------------------------------------------------
|
95 | 92 | # Anything below here is just command setup and general setup configuration
|
96 | 93 |
|
| 94 | +here = os.path.abspath(os.path.dirname(__file__)) |
| 95 | + |
| 96 | +def read_file_contents(path): |
| 97 | + import codecs |
| 98 | + with codecs.open(path, encoding="utf-8") as f: |
| 99 | + return f.read() |
| 100 | + |
97 | 101 | def data_copy_build_py_factory(files, baseclass):
|
98 | 102 | class data_copy_build_py(baseclass):
|
99 | 103 | files = dict()
|
@@ -149,45 +153,49 @@ def params():
|
149 | 153 | version = versioneer.get_version()
|
150 | 154 | cmdclass = get_cmdclass()
|
151 | 155 |
|
152 |
| - description = "A snappy web interface for 3D printers" |
153 |
| - long_description = open("README.md").read() |
| 156 | + description = "The snappy web interface for your 3D printer" |
| 157 | + long_description = read_file_contents(os.path.join(here, "README.md")) |
| 158 | + long_description_content_type = "text/markdown" |
154 | 159 |
|
155 | 160 | install_requires = INSTALL_REQUIRES
|
156 | 161 | extras_require = EXTRA_REQUIRES
|
157 | 162 | dependency_links = DEPENDENCY_LINKS
|
158 | 163 | setup_requires = SETUP_REQUIRES
|
159 | 164 |
|
160 |
| - try: |
161 |
| - import pypandoc |
162 |
| - setup_requires += ["setuptools-markdown"] |
163 |
| - long_description_markdown_filename = "README.md" |
164 |
| - del pypandoc |
165 |
| - except: |
166 |
| - pass |
167 |
| - |
168 | 165 | classifiers = [
|
169 |
| - "Development Status :: 4 - Beta", |
| 166 | + "Development Status :: 5 - Production/Stable", |
170 | 167 | "Environment :: Web Environment",
|
171 | 168 | "Framework :: Flask",
|
| 169 | + "Intended Audience :: Developers", |
172 | 170 | "Intended Audience :: Education",
|
173 | 171 | "Intended Audience :: End Users/Desktop",
|
174 | 172 | "Intended Audience :: Manufacturing",
|
| 173 | + "Intended Audience :: Other Audience", |
175 | 174 | "Intended Audience :: Science/Research",
|
176 | 175 | "License :: OSI Approved :: GNU Affero General Public License v3",
|
177 | 176 | "Natural Language :: English",
|
| 177 | + "Natural Language :: German", |
178 | 178 | "Operating System :: OS Independent",
|
| 179 | + "Programming Language :: Python", |
| 180 | + "Programming Language :: Python :: 2", |
179 | 181 | "Programming Language :: Python :: 2.7",
|
| 182 | + "Programming Language :: Python :: Implementation :: CPython", |
180 | 183 | "Programming Language :: JavaScript",
|
181 |
| - "Topic :: Internet :: WWW/HTTP", |
182 |
| - "Topic :: Internet :: WWW/HTTP :: Dynamic Content", |
183 |
| - "Topic :: Internet :: WWW/HTTP :: WSGI", |
184 | 184 | "Topic :: Printing",
|
185 |
| - "Topic :: System :: Networking :: Monitoring" |
| 185 | + "Topic :: System :: Monitoring" |
186 | 186 | ]
|
187 | 187 | author = "Gina Häußge"
|
188 |
| - author_email = "[email protected]" |
189 |
| - url = "http://octoprint.org" |
190 |
| - license = "AGPLv3" |
| 188 | + author_email = "[email protected]" |
| 189 | + url = "https://octoprint.org" |
| 190 | + license = "GNU Affero General Public License v3" |
| 191 | + keywords = "3dprinting 3dprinter 3d-printing 3d-printer octoprint" |
| 192 | + |
| 193 | + project_urls={ |
| 194 | + "Community Forum": "https://discourse.octoprint.org", |
| 195 | + "Bug Reports": "https://github.com/foosel/OctoPrint/issues", |
| 196 | + "Source": "https://github.com/foosel/OctoPrint", |
| 197 | + "Funding": "https://donate.octoprint.org" |
| 198 | + } |
191 | 199 |
|
192 | 200 | packages = find_packages(where="src")
|
193 | 201 | package_dir = {
|
|
0 commit comments