Skip to content

Commit 1507a44

Browse files
committed
setup.py update
1 parent 8dc4ec1 commit 1507a44

File tree

1 file changed

+24
-9
lines changed

1 file changed

+24
-9
lines changed

setup.py

+24-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,34 @@
11
from distutils.core import setup
2+
import sys
3+
4+
if sys.version_info[0] < 3:
5+
with open('README.md') as f:
6+
long_description = f.read()
7+
else:
8+
with open('README.md', encoding='utf-8') as f:
9+
long_description = f.read()
210

311
setup(name='FireflyAlgorithm',
412
description='Firefly algorithm implementation',
13+
long_description=long_description,
14+
long_description_content_type="text/markdown",
515
author='firefly-cpp',
6-
version='0.0.1',
16+
version='0.0.2',
717
license='MIT',
818
classifiers=[
9-
'Development Status :: 5 - Production/Stable',
10-
'Intended Audience :: Developers',
11-
'Intended Audience :: Science/Research',
12-
'Operating System :: OS Independent',
13-
'Topic :: Scientific/Engineering',
14-
'Topic :: Software Development'
19+
'Development Status :: 5 - Production/Stable',
20+
'Intended Audience :: Developers',
21+
'Intended Audience :: Science/Research',
22+
'Operating System :: OS Independent',
23+
'Topic :: Scientific/Engineering',
24+
'Topic :: Software Development',
25+
'Programming Language :: Python :: 3',
26+
'Programming Language :: Python :: 3.6',
27+
'Programming Language :: Python :: 3.7',
28+
'Programming Language :: Python :: 3.8',
29+
'Programming Language :: Python :: 3.9',
30+
'Programming Language :: Python :: 3.10'
1531
],
1632
url='https://github.com/firefly-cpp/FireflyAlgorithm',
1733
py_modules=['FireflyAlgorithm']
18-
)
19-
34+
)

0 commit comments

Comments
 (0)