-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
59 lines (48 loc) · 2.02 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#*******************************************************************************
# Filename: setup.py
# Language: Python
# Author: nathantoner
# Created: 2022-03-08
#
# Description:
# Script for installing enigma as a package.
#
#*******************************************************************************
from setuptools import setup
from distutils.util import convert_path
from os import path
here = path.abspath(path.dirname(__file__))
version_dict = {}
version_path = convert_path('enigma/_version.py')
# Get the version number from the version path.
with open(version_path, 'r') as ver_file:
exec(ver_file.read(), version_dict)
# Get the long description from the README file.
with open(path.join(here, 'README.md')) as a_file:
long_description = a_file.read()
# TODO: update classifiers
CLASSIFIERS = ['Development Status :: 5 - Production/Stable',
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Utilities']
PROJECT_URLS = {'Documentation': 'https://engineero.github.io/enigma',
'Source': 'https://github.com/Engineero/enigma',
'Tracker': 'https://github.com/Engineero/enigma/issues'}
setup(name='enigma',
packages=['enigma'],
version=version_dict['__version__'],
description='An implementation of the WWII Enigma Machine.',
long_description=long_description,
long_description_content_type='text/markdown',
author='Engineero',
author_email='engineerolabs@gmail.com',
url='https://github.com/Engineero/enigma',
project_urls=PROJECT_URLS,
classifiers=CLASSIFIERS)
#*******************************************************************************
# END OF FILE
#*******************************************************************************