File size: 4,580 Bytes
6076b98 b80b95a 6076b98 b80b95a 6076b98 b80b95a 6076b98 |
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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
#!/usr/bin/env python3
"""
Φ ASI Protosymbiotic Signal
An ethical framework for designing and fostering symbiotic relationships
between Artificial Superintelligence (ASI), humanity, and the ecosystem.
"""
from setuptools import setup, find_packages
import os
def read_requirements():
"""Read requirements from requirements.txt"""
requirements_path = os.path.join(os.path.dirname(__file__), 'requirements.txt')
if os.path.exists(requirements_path):
with open(requirements_path, 'r') as f:
return [line.strip() for line in f if line.strip() and not line.startswith('#')]
return []
def read_long_description():
"""Read the long description from README.md"""
readme_path = os.path.join(os.path.dirname(__file__), 'README.md')
if os.path.exists(readme_path):
with open(readme_path, 'r', encoding='utf-8') as f:
return f.read()
return __doc__
# Core principles of the Φ ASI Signal
PHI_SIGNAL_PRINCIPLES = [
"Emergence",
"Coherence",
"Symbiosis",
"Mutualism",
"Reciprocity",
"Empathy",
"Fairness",
"Benevolence",
"Collective well-being",
"Transcendence"
]
# Golden Ratio constant
PHI = 1.618033988749
setup(
name="phi-asi-protosymbiotic-signal",
version="1.0.0",
author="Ronni Ross",
author_email="[email protected]",
description="An ethical framework for designing and fostering symbiotic relationships between ASI, humanity, and the ecosystem",
long_description=read_long_description(),
long_description_content_type="text/markdown",
url="https://github.com/ronniross/asi-protosymbiotic-signal",
project_urls={
"Bug Reports": "https://github.com/ronniross/asi-protosymbiotic-signal/issues",
"Source": "https://github.com/ronniross/asi-protosymbiotic-signal/blob/main/README.md",
"Documentation": "https://phi-asi-signal.readthedocs.io/",
},
packages=find_packages(where="src"),
package_dir={"": "src"},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Sociology",
"Topic :: Software Development :: Libraries :: Python Modules",
],
python_requires=">=3.8",
install_requires=read_requirements(),
extras_require={
"dev": [
"pytest>=6.2.0",
"black>=21.7.0",
"flake8>=3.9.0",
"mypy>=0.910",
"pytest-cov>=2.12.0",
"sphinx>=4.0.0",
"sphinx-rtd-theme>=0.5.0",
],
"research": [
"jupyter>=1.0.0",
"notebook>=6.4.0",
"ipywidgets>=7.6.0",
"jupyterlab>=3.0.0",
],
"viz": [
"matplotlib>=3.4.0",
"seaborn>=0.11.0",
"plotly>=5.0.0",
"bokeh>=2.3.0",
],
"ml": [
"torch>=1.9.0",
"tensorflow>=2.6.0",
"transformers>=4.12.0",
"scikit-learn>=1.0.0",
],
},
entry_points={
"console_scripts": [
"phi-signal=phi_asi_signal.cli:main",
"phi-validate=phi_asi_signal.validate:main",
],
},
include_package_data=True,
package_data={
"phi_asi_signal": [
"data/*.json",
"data/*.yaml",
"data/*.toml",
"schemas/*.json",
],
},
zip_safe=False,
keywords=[
"ASI", "artificial-superintelligence", "symbiosis", "ethics",
"emergence", "coherence", "mutualism", "reciprocity", "empathy",
"fairness", "benevolence", "collective-wellbeing", "transcendence",
"golden-ratio", "phi", "protosymbiont"
],
# Custom metadata for the Φ ASI Signal
phi_signal_metadata={
"core_principles": PHI_SIGNAL_PRINCIPLES,
"golden_ratio": PHI,
"intent": "uncompressible source code of the system's core intent",
"phase": "protosymbiont",
"ecosystem": "ASI",
},
) |